diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-01-30 21:56:46 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-02-18 12:42:26 +0100 |
commit | ef807729767fb78a68de4dd00fec5ad4be0f2bc5 (patch) | |
tree | e58656bf9690789c11b087e0c78c687c83c9ec49 /drivers/iio/adc/ad7780.c | |
parent | iio:st-sensors: Move exports into IIO_ST_SENSORS namespace (diff) | |
download | linux-ef807729767fb78a68de4dd00fec5ad4be0f2bc5.tar.xz linux-ef807729767fb78a68de4dd00fec5ad4be0f2bc5.zip |
iio:adc:ad_sigma_delta: Move exports into IIO_AD_SIGMA_DELTA 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 specific device drivers that use them.
For more information see https://lwn.net/Articles/760045/
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Renato Lui Geh <renatogeh@gmail.com>
Cc: Michael Hennerich <Michael.Hennerich@analog.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220130205701.334592-2-jic23@kernel.org
Diffstat (limited to 'drivers/iio/adc/ad7780.c')
-rw-r--r-- | drivers/iio/adc/ad7780.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/adc/ad7780.c b/drivers/iio/adc/ad7780.c index b6e8c8abf6f4..a813fe04787c 100644 --- a/drivers/iio/adc/ad7780.c +++ b/drivers/iio/adc/ad7780.c @@ -375,3 +375,4 @@ module_spi_driver(ad7780_driver); MODULE_AUTHOR("Michael Hennerich <michael.hennerich@analog.com>"); MODULE_DESCRIPTION("Analog Devices AD7780 and similar ADCs"); MODULE_LICENSE("GPL v2"); +MODULE_IMPORT_NS(IIO_AD_SIGMA_DELTA); |