iio:accel:mma9551_core: Move exports into IIO_MMA9551 namespace
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 16 Jan 2022 18:05:23 +0000 (18:05 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 18 Feb 2022 11:36:53 +0000 (11:36 +0000)
commit4205a215803f7d9a04fcd642bca22de78ea80156
tree1b0a2eb579e015d97a3b43fa92cbb34ca822675c
parentc7a43b089826b17e46419d93c00c0d2f4b26735f
iio:accel:mma9551_core: Move exports into IIO_MMA9551 namespace

In order to avoid unnecessary pollution of the global symbol namespace
move the core mma9551 functions into an mma9551 specific namespace.

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

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20220116180535.2367780-2-jic23@kernel.org
drivers/iio/accel/mma9551.c
drivers/iio/accel/mma9551_core.c
drivers/iio/accel/mma9553.c