iio:accel:kxsd9: Move exports into IIO_KDSD9 namespace
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 16 Jan 2022 18:05:25 +0000 (18:05 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 18 Feb 2022 11:36:53 +0000 (11:36 +0000)
commitc24ef124e9448ecdfea83aecf5d53364ef88a781
tree764bba5d80738bcebe37e375866989627ec260aa
parenteca7b25bee064575eb80a025cdee66eb2d65174d
iio:accel:kxsd9: Move exports into IIO_KDSD9 namespace

In order to avoid unnecessary pollution of the global symbol namespace
move the core kxsd9 functions into a kxsd9 specific namespace and import
that into the two bus modules.

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-4-jic23@kernel.org
drivers/iio/accel/kxsd9-i2c.c
drivers/iio/accel/kxsd9-spi.c
drivers/iio/accel/kxsd9.c