iio: adis: Drop non Managed device functions
authorNuno Sá <nuno.sa@analog.com>
Tue, 15 Sep 2020 12:02:58 +0000 (14:02 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 16 Sep 2020 18:06:10 +0000 (19:06 +0100)
commitd8f0cd76684e679d4a8ec4929fcdf6c3a030a007
tree1eba56f8f64b948e5e8bdd91a6289ef8abc105d2
parent9da328667316867b8604534bf9c0c38b6daa107e
iio: adis: Drop non Managed device functions

Drop `adis_setup_buffer_and_trigger()`. All users were updated to use
the devm version of this function. This avoids having almost the same
code repeated.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20200915120258.161587-11-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/adis_buffer.c
drivers/iio/imu/adis_trigger.c
include/linux/iio/imu/adis.h