iio:accel:adxl355: Move exports into IIO_ADXL355 namespace
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 16 Jan 2022 18:05:29 +0000 (18:05 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 18 Feb 2022 11:36:54 +0000 (11:36 +0000)
commitfe2fe330e0d1efdf3b366f26deaf92fac7c28340
tree1f474b9830d401c8775d7f1761286b734a0c34c8
parent0a18114d3ffd0ce0dc3a356d0c2fc7b5b8afc0ae
iio:accel:adxl355: Move exports into IIO_ADXL355 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>
Cc: Puranjay Mohan <puranjay12@gmail.com>
Link: https://lore.kernel.org/r/20220116180535.2367780-8-jic23@kernel.org
drivers/iio/accel/adxl355_core.c
drivers/iio/accel/adxl355_i2c.c
drivers/iio/accel/adxl355_spi.c