iio:accel:bmi088: Move exports into IIO_BMI088 namespace
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 16 Jan 2022 18:05:32 +0000 (18:05 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 18 Feb 2022 11:36:54 +0000 (11:36 +0000)
commit3bd072d118765f2fcbee3bfef19d2b7960ab0d1d
tree5ca84b0b45c751e5c28cc78d58d55f6fccbb49b6
parent26b74d852f6c53868d88a067f497da7ebbdaae9f
iio:accel:bmi088: Move exports into IIO_BMI088 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: Mike Looijmans <mike.looijmans@topic.nl>
Link: https://lore.kernel.org/r/20220116180535.2367780-11-jic23@kernel.org
drivers/iio/accel/bmi088-accel-core.c
drivers/iio/accel/bmi088-accel-spi.c