summaryrefslogtreecommitdiff
path: root/include/rdma/uverbs_ioctl.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2024-02-22 09:14:25 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-02-28 22:26:36 +0300
commitdebabbb1f272f6c21b468838a0cbafc5d2c90e8b (patch)
tree74b0a564870cc3e7b5146636b505e64a34c4ea3b /include/rdma/uverbs_ioctl.h
parent8243b2877eefe92f1022013601b8dfeb892b707a (diff)
downloadlinux-debabbb1f272f6c21b468838a0cbafc5d2c90e8b.tar.xz
iio: adc: ti-ads1298: Fix error code in probe()
There is a copy and paste bug here, it should be "reg_vref" instead of "reg_avdd". The "priv->reg_avdd" variable is zero so it ends up returning success. Fixes: 00ef7708fa60 ("iio: adc: ti-ads1298: Add driver") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Acked-by: Mike Looijmans <mike.looijmans@topic.nl> Link: https://lore.kernel.org/r/5f393a87-ca8b-4e68-a6f4-a79f75a91ccb@moroto.mountain Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/rdma/uverbs_ioctl.h')
0 files changed, 0 insertions, 0 deletions