iio:accel:bmc150: Move exports into IIO_BMC150 namespace
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 16 Jan 2022 18:05:31 +0000 (18:05 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 18 Feb 2022 11:36:54 +0000 (11:36 +0000)
commit26b74d852f6c53868d88a067f497da7ebbdaae9f
treec9f7f3f2b7736295f086ebdf0abe43fa51992ffd
parent489c75af0f4da1e83ba08895bdda533663faf592
iio:accel:bmc150: Move exports into IIO_BMC150 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/

Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20220116180535.2367780-10-jic23@kernel.org
drivers/iio/accel/bmc150-accel-core.c
drivers/iio/accel/bmc150-accel-i2c.c
drivers/iio/accel/bmc150-accel-spi.c