summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/ad7780.c
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2022-01-30 23:56:46 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-02-18 14:42:26 +0300
commitef807729767fb78a68de4dd00fec5ad4be0f2bc5 (patch)
treee58656bf9690789c11b087e0c78c687c83c9ec49 /drivers/iio/adc/ad7780.c
parent0805b5121f2933a17616b9799a33bc175d07e722 (diff)
downloadlinux-ef807729767fb78a68de4dd00fec5ad4be0f2bc5.tar.xz
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.c1
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);