iio:accel:adxl372: Move exports into IIO_ADXL372 namespace
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 16 Jan 2022 18:05:30 +0000 (18:05 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 18 Feb 2022 11:36:54 +0000 (11:36 +0000)
commit489c75af0f4da1e83ba08895bdda533663faf592
treee625f1d117ea92229a4e08b0fbb777b725004e3a
parentfe2fe330e0d1efdf3b366f26deaf92fac7c28340
iio:accel:adxl372: Move exports into IIO_ADXL372 namespace

To avoid unnecessary pollution of the global symbol namespace move the
driver core exports into their own namespace and import that into the two
bus modules.

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

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20220116180535.2367780-9-jic23@kernel.org
drivers/iio/accel/adxl372.c
drivers/iio/accel/adxl372_i2c.c
drivers/iio/accel/adxl372_spi.c