summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac/ad5592r.c
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2022-01-30 20:56:51 +0000
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-02-18 11:42:26 +0000
commit4dcd738473f211a8546eceeb466e5bc1698849c7 (patch)
treed270d0250df6dbaa8d2949f65de6432b9934458f /drivers/iio/dac/ad5592r.c
parent0a1b56b7b3c65cb137665a9cf14a126e02123119 (diff)
downloadlinux-stable-4dcd738473f211a8546eceeb466e5bc1698849c7.tar.gz
linux-stable-4dcd738473f211a8546eceeb466e5bc1698849c7.tar.bz2
linux-stable-4dcd738473f211a8546eceeb466e5bc1698849c7.zip
iio:dac:ad5592r: Move exports into IIO_AD5592R namespace
In order to avoid unnecessary pollution of the global symbol namespace move the common/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: Paul Cercueil <paul@crapouillou.net> Reviewed-by: Paul Cercueil <paul@crapouillou.net> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20220130205701.334592-7-jic23@kernel.org
Diffstat (limited to 'drivers/iio/dac/ad5592r.c')
-rw-r--r--drivers/iio/dac/ad5592r.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/dac/ad5592r.c b/drivers/iio/dac/ad5592r.c
index 6bfd7951e18c..1572279b04bb 100644
--- a/drivers/iio/dac/ad5592r.c
+++ b/drivers/iio/dac/ad5592r.c
@@ -170,3 +170,4 @@ module_spi_driver(ad5592r_spi_driver);
MODULE_AUTHOR("Paul Cercueil <paul.cercueil@analog.com>");
MODULE_DESCRIPTION("Analog Devices AD5592R multi-channel converters");
MODULE_LICENSE("GPL v2");
+MODULE_IMPORT_NS(IIO_AD5592R);