diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-05-21 18:53:22 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-06-14 11:49:50 +0100 |
commit | 18d563858d97dbefc9a16c8210ef2f97dc264202 (patch) | |
tree | db6a1891e4685c7536fe6baeb333c6b6d6a76497 /drivers/iio/trigger/stm32-timer-trigger.c | |
parent | cd64d3579d58f2aa547c1cff856d24169263f765 (diff) | |
download | linux-18d563858d97dbefc9a16c8210ef2f97dc264202.tar.gz linux-18d563858d97dbefc9a16c8210ef2f97dc264202.tar.bz2 linux-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