iio: gyro: mpu3050: Drop unused symbol exports.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 20 Feb 2022 17:51:48 +0000 (17:51 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 14 Jun 2022 10:53:10 +0000 (11:53 +0100)
This driver is built as a single module.  There is an note in the makefile
about SPI support being a reason to split the build in future. That
support has never arrived so drop these symbol exports.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20220220175149.503495-2-jic23@kernel.org
drivers/iio/gyro/mpu3050-core.c

index 4f19dc7..4941a2f 100644 (file)
@@ -1261,7 +1261,6 @@ err_power_down:
 
        return ret;
 }
-EXPORT_SYMBOL(mpu3050_common_probe);
 
 void mpu3050_common_remove(struct device *dev)
 {
@@ -1277,7 +1276,6 @@ void mpu3050_common_remove(struct device *dev)
        iio_device_unregister(indio_dev);
        mpu3050_power_down(mpu3050);
 }
-EXPORT_SYMBOL(mpu3050_common_remove);
 
 #ifdef CONFIG_PM
 static int mpu3050_runtime_suspend(struct device *dev)
@@ -1297,7 +1295,6 @@ const struct dev_pm_ops mpu3050_dev_pm_ops = {
        SET_RUNTIME_PM_OPS(mpu3050_runtime_suspend,
                           mpu3050_runtime_resume, NULL)
 };
-EXPORT_SYMBOL(mpu3050_dev_pm_ops);
 
 MODULE_AUTHOR("Linus Walleij");
 MODULE_DESCRIPTION("MPU3050 gyroscope driver");