summaryrefslogtreecommitdiff
path: root/drivers/iio/accel
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2020-09-13 12:25:46 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-09-21 18:54:18 +0100
commite8a26c5b767b5ffc541f1c80336f2faa802441f4 (patch)
tree7f599fabe651f3e96b8137f15e20b115c928bfd7 /drivers/iio/accel
parentcd7798cbd28044a3026619e36993160ba8fa118d (diff)
iio:magn:hmc5843: Fix passing true where iio_shared_by enum required.
So it's obvious that the code is wrong in passing true, but I'm assuming that will actually evaluate to 1 and hence IIO_SHARED_BY_TYPE. The documentation however has this attribute as IIO_SHARED_BY_ALL. My current assumption is the documentation is wrong. If anyone knows otherwise please shout out! Fixes: 7247645f6865 ("iio: hmc5843: Move hmc5843 out of staging") Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Tested-by: H. Nikolaus Schaller <hns@goldelico.com> Link: https://lore.kernel.org/r/20200913112546.715624-1-jic23@kernel.org
Diffstat (limited to 'drivers/iio/accel')
0 files changed, 0 insertions, 0 deletions