[PATCH 06/10] iio:gyro:st_gyro drop unwanted EXPORT_SYMBOLs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 drivers/iio/gyro/st_gyro_buffer.c | 3 ---
 drivers/iio/gyro/st_gyro_core.c   | 3 ---
 2 files changed, 6 deletions(-)

diff --git a/drivers/iio/gyro/st_gyro_buffer.c b/drivers/iio/gyro/st_gyro_buffer.c
index deb8a4b..6f086e5 100644
--- a/drivers/iio/gyro/st_gyro_buffer.c
+++ b/drivers/iio/gyro/st_gyro_buffer.c
@@ -30,7 +30,6 @@ int st_gyro_trig_set_state(struct iio_trigger *trig, bool state)
 	struct iio_dev *indio_dev = trig->private_data;
 	return st_gyro_set_dataready_irq(indio_dev, state);
 }
-EXPORT_SYMBOL(st_gyro_trig_set_state);
 
 static int st_gyro_buffer_preenable(struct iio_dev *indio_dev)
 {
@@ -106,13 +105,11 @@ int st_gyro_allocate_ring(struct iio_dev *indio_dev)
 	return iio_triggered_buffer_setup(indio_dev, &iio_pollfunc_store_time,
 		&st_sensors_trigger_handler, &st_gyro_buffer_setup_ops);
 }
-EXPORT_SYMBOL(st_gyro_allocate_ring);
 
 void st_gyro_deallocate_ring(struct iio_dev *indio_dev)
 {
 	iio_triggered_buffer_cleanup(indio_dev);
 }
-EXPORT_SYMBOL(st_gyro_deallocate_ring);
 
 MODULE_AUTHOR("Denis Ciocca <denis.ciocca@xxxxxx>");
 MODULE_DESCRIPTION("STMicroelectronics gyroscopes buffer");
diff --git a/drivers/iio/gyro/st_gyro_core.c b/drivers/iio/gyro/st_gyro_core.c
index 12abeb2..601858e 100644
--- a/drivers/iio/gyro/st_gyro_core.c
+++ b/drivers/iio/gyro/st_gyro_core.c
@@ -275,7 +275,6 @@ int st_gyro_set_dataready_irq(struct iio_dev *indio_dev, bool state)
 	return st_sensors_set_dataready_irq(indio_dev,
 					&st_gyro_sensors[gdata->index], state);
 }
-EXPORT_SYMBOL(st_gyro_set_dataready_irq);
 
 int st_gyro_set_axis_enable(struct iio_dev *indio_dev, u8 active_bit)
 {
@@ -284,7 +283,6 @@ int st_gyro_set_axis_enable(struct iio_dev *indio_dev, u8 active_bit)
 	return st_sensors_set_axis_enable(indio_dev,
 				&st_gyro_sensors[gdata->index], active_bit);
 }
-EXPORT_SYMBOL(st_gyro_set_axis_enable);
 
 int st_gyro_set_enable(struct iio_dev *indio_dev, bool enable)
 {
@@ -293,7 +291,6 @@ int st_gyro_set_enable(struct iio_dev *indio_dev, bool enable)
 	return st_sensors_set_enable(indio_dev,
 				&st_gyro_sensors[gdata->index], enable);
 }
-EXPORT_SYMBOL(st_gyro_set_enable);
 
 static ssize_t st_gyro_sysfs_set_sampling_frequency(struct device *dev,
 		struct device_attribute *attr, const char *buf, size_t size)
-- 
1.8.1.1

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux