diff options
author | 2020-05-21 18:53:22 +0100 | |
---|---|---|
committer | 2020-06-14 11:49:50 +0100 | |
commit | 18d563858d97dbefc9a16c8210ef2f97dc264202 (patch) | |
tree | db6a1891e4685c7536fe6baeb333c6b6d6a76497 /drivers/iio/trigger/stm32-timer-trigger.c | |
parent | iio: stm32-adc: remove usage of iio_priv_to_dev() helper (diff) | |
download | linux-dev-18d563858d97dbefc9a16c8210ef2f97dc264202.tar.xz linux-dev-18d563858d97dbefc9a16c8210ef2f97dc264202.zip |
iio: make iio_device_get_drvdata take a const struct iio_dev *.
As this just calls dev_get_drvdata underneath which is happy with
a const struct device * we should change and avoid potentially
casting away a const in order to then put it back again.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions