summaryrefslogtreecommitdiff
path: root/drivers/iio/gyro
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2022-02-20 17:51:48 +0000
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-14 11:53:10 +0100
commit3c5a15cc4bd7818d8ab149fe03e65d4ad452ed83 (patch)
tree6bdc9c36ac72fa956ae87f76509748639e677558 /drivers/iio/gyro
parent129d7c49c5a79920ee83c61823c7b344a6844031 (diff)
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
Diffstat (limited to 'drivers/iio/gyro')
-rw-r--r--drivers/iio/gyro/mpu3050-core.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/iio/gyro/mpu3050-core.c b/drivers/iio/gyro/mpu3050-core.c
index 4f19dc7ffe57..4941a2f17d22 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");