OpenCloudOS-Kernel/drivers/iio/imu/inv_icm42600
Jonathan Cameron ef5a5ef29c iio: imu: inv_icm42600: Move exports to IIO_ICM42600 namespace
As these exports are only relevant to core module and users in the
bus specific modules, move them out of the main kernel namespace.

Includes using EXPORT_NS_GPL_DEV_PM_OPS() and the simplifications that
brings by allowing the compiler to remove unused struct dev_pm_ops
and callbacks without needing explicit __maybe_unused markings.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>

--
EXPORT_NS_GPL_DEV_PM_OPS()

v2: Switch to Paul's more flexible version of the
Acked-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Link: https://lore.kernel.org/r/20220925155719.3316280-5-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2022-11-23 19:44:00 +00:00
..
Kconfig iio: imu: inv_icm42600: add buffer support in iio devices 2020-06-27 14:23:18 +01:00
Makefile iio: imu: inv_icm42600: add accurate timestamping 2020-06-27 14:24:42 +01:00
inv_icm42600.h IIO new device support, features and minor fixes for 5.20 2022-07-14 15:04:49 +02:00
inv_icm42600_accel.c iio: core: Simplify the registration of kfifo buffers 2022-04-10 16:25:46 +01:00
inv_icm42600_buffer.c iio: imu: inv_icm42600: add accurate timestamping 2020-06-27 14:24:42 +01:00
inv_icm42600_buffer.h iio: imu: inv_icm42600: Fix alignment for DMA safety in buffer code. 2022-06-14 11:53:18 +01:00
inv_icm42600_core.c iio: imu: inv_icm42600: Move exports to IIO_ICM42600 namespace 2022-11-23 19:44:00 +00:00
inv_icm42600_gyro.c iio: core: Simplify the registration of kfifo buffers 2022-04-10 16:25:46 +01:00
inv_icm42600_i2c.c iio: imu: inv_icm42600: Move exports to IIO_ICM42600 namespace 2022-11-23 19:44:00 +00:00
inv_icm42600_spi.c iio: imu: inv_icm42600: Move exports to IIO_ICM42600 namespace 2022-11-23 19:44:00 +00:00
inv_icm42600_temp.c iio: imu: inv_icm42600: add temperature sensor support 2020-06-27 14:20:16 +01:00
inv_icm42600_temp.h iio: imu: inv_icm42600: add temperature sensor support 2020-06-27 14:20:16 +01:00
inv_icm42600_timestamp.c iio: imu: inv_icm42600: add accurate timestamping 2020-06-27 14:24:42 +01:00
inv_icm42600_timestamp.h iio: imu: inv_icm42600: add accurate timestamping 2020-06-27 14:24:42 +01:00