diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-09-25 16:57:19 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-11-23 19:44:00 +0000 |
commit | 62bfa12c87ac7468a69e81ea870eb68b0adabf37 (patch) | |
tree | cebcf1d4afaf93bd5fcc40717f6d928ff4bda49b /mm/vmscan.c | |
parent | ef5a5ef29c8f70ca640d785b7173101417c78d24 (diff) | |
download | linux-stable-62bfa12c87ac7468a69e81ea870eb68b0adabf37.tar.gz linux-stable-62bfa12c87ac7468a69e81ea870eb68b0adabf37.tar.bz2 linux-stable-62bfa12c87ac7468a69e81ea870eb68b0adabf37.zip |
iio: imu: inv_mpu: Move exports to IIO_MPU6050 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>
Cc: Linus Walleij <linus.walleij@linaro.org>
--
Dropped Linus' tag as the new patch is significantly different.
v2: Switch to more flexible version of EXPORT* macro from Paul.
Acked-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Link: https://lore.kernel.org/r/20220925155719.3316280-6-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions