iio: core: remove iio_priv_to_dev() helper
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Sun, 21 Jun 2020 12:33:39 +0000 (15:33 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 13 Jul 2020 14:07:34 +0000 (15:07 +0100)
commitf4bf09d5303ab3896604c58363fc705ba649ccb8
tree2b2a2982c51d83c483e2aaec920b082c4911546b
parent3593cd53962fa17e4eaaae8faa5c8f62ec7bbd5e
iio: core: remove iio_priv_to_dev() helper

All users of this helper have been updated to not use it.
Remove it now, so that we don't need to move it when creating the
iio_dev_opaque structure.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
include/linux/iio/iio.h