iio:pressure:mpl115: Move exports into IIO_MPL115 namespace
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 30 Jan 2022 20:56:56 +0000 (20:56 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 18 Feb 2022 11:42:27 +0000 (11:42 +0000)
commitc7c848b05fb86aeb7fc8019f72f0462a7406e7a3
tree4f92dfc17b42485d47c3fa87682b5a7ada4eaa8c
parent1980d4a1bae068935da597abaacdfb26c4132e88
iio:pressure:mpl115: Move exports into IIO_MPL115 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 bus specific device drivers that use them.

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

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220130205701.334592-12-jic23@kernel.org
drivers/iio/pressure/mpl115.c
drivers/iio/pressure/mpl115_i2c.c
drivers/iio/pressure/mpl115_spi.c