iio:adc:ad76060: Move exports into IIO_AD7606 namespace.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 30 Jan 2022 20:56:48 +0000 (20:56 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 18 Feb 2022 11:42:26 +0000 (11:42 +0000)
commit59cea5bc7c19ac88f2300969eb35c49d91a0eeeb
treec6d481062ea84c707e3c8b2182674be36db5d8ba
parent8a0080af84d3fb2423f0b3b55eff666f545eb097
iio:adc:ad76060: Move exports into IIO_AD7606 namespace.

In order to avoid unnecessary pollution of the global symbol namespace
move the core/library functions into a specific namespace and import
that into the various bus specific device drivers that use them.

For more information see https://lwn.net/Articles/760045/

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220130205701.334592-4-jic23@kernel.org
drivers/iio/adc/ad7606.c
drivers/iio/adc/ad7606_par.c
drivers/iio/adc/ad7606_spi.c