From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Date: Sun, 20 Feb 2022 17:51:48 +0000 (+0000)
Subject: iio: gyro: mpu3050: Drop unused symbol exports.
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3c5a15cc4bd7818d8ab149fe03e65d4ad452ed83;p=linux.git

iio: gyro: mpu3050: Drop unused symbol exports.

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
---

diff --git a/drivers/iio/gyro/mpu3050-core.c b/drivers/iio/gyro/mpu3050-core.c
index 4f19dc7ffe571..4941a2f17d226 100644
--- a/drivers/iio/gyro/mpu3050-core.c
+++ b/drivers/iio/gyro/mpu3050-core.c
@@ -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");