linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: linux-iio@vger.kernel.org
Cc: lars@metafoo.de, denis.ciocca@st.com,
	Jonathan Cameron <jic23@kernel.org>
Subject: [PATCH 05/10] iio:accel:st_accel drop unwanted EXPORT_SYMBOLS
Date: Tue, 22 Jan 2013 16:16:34 +0000	[thread overview]
Message-ID: <1358871399-11216-6-git-send-email-jic23@kernel.org> (raw)
In-Reply-To: <1358871399-11216-1-git-send-email-jic23@kernel.org>

These no longer need exporting..
---
 drivers/iio/accel/st_accel_buffer.c | 3 ---
 drivers/iio/accel/st_accel_core.c   | 3 ---
 2 files changed, 6 deletions(-)

diff --git a/drivers/iio/accel/st_accel_buffer.c b/drivers/iio/accel/st_accel_buffer.c
index 4c76787..f35f374 100644
--- a/drivers/iio/accel/st_accel_buffer.c
+++ b/drivers/iio/accel/st_accel_buffer.c
@@ -29,7 +29,6 @@ int st_accel_trig_set_state(struct iio_trigger *trig, bool state)
 	struct iio_dev *indio_dev = trig->private_data;
 	return st_accel_set_dataready_irq(indio_dev, state);
 }
-EXPORT_SYMBOL(st_accel_trig_set_state);
 
 static int st_accel_buffer_preenable(struct iio_dev *indio_dev)
 {
@@ -105,13 +104,11 @@ int st_accel_allocate_ring(struct iio_dev *indio_dev)
 	return iio_triggered_buffer_setup(indio_dev, &iio_pollfunc_store_time,
 		&st_sensors_trigger_handler, &st_accel_buffer_setup_ops);
 }
-EXPORT_SYMBOL(st_accel_allocate_ring);
 
 void st_accel_deallocate_ring(struct iio_dev *indio_dev)
 {
 	iio_triggered_buffer_cleanup(indio_dev);
 }
-EXPORT_SYMBOL(st_accel_deallocate_ring);
 
 MODULE_AUTHOR("Denis Ciocca <denis.ciocca@st.com>");
 MODULE_DESCRIPTION("STMicroelectronics accelerometers buffer");
diff --git a/drivers/iio/accel/st_accel_core.c b/drivers/iio/accel/st_accel_core.c
index 7af2f8e..88f94b7 100644
--- a/drivers/iio/accel/st_accel_core.c
+++ b/drivers/iio/accel/st_accel_core.c
@@ -407,7 +407,6 @@ int st_accel_set_dataready_irq(struct iio_dev *indio_dev, bool state)
 	return st_sensors_set_dataready_irq(indio_dev,
 					&st_accel_sensors[adata->index], state);
 }
-EXPORT_SYMBOL(st_accel_set_dataready_irq);
 
 int st_accel_set_axis_enable(struct iio_dev *indio_dev, u8 active_bit)
 {
@@ -416,7 +415,6 @@ int st_accel_set_axis_enable(struct iio_dev *indio_dev, u8 active_bit)
 	return st_sensors_set_axis_enable(indio_dev,
 				&st_accel_sensors[adata->index], active_bit);
 }
-EXPORT_SYMBOL(st_accel_set_axis_enable);
 
 int st_accel_set_enable(struct iio_dev *indio_dev, bool enable)
 {
@@ -425,7 +423,6 @@ int st_accel_set_enable(struct iio_dev *indio_dev, bool enable)
 	return st_sensors_set_enable(indio_dev,
 				&st_accel_sensors[adata->index], enable);
 }
-EXPORT_SYMBOL(st_accel_set_enable);
 
 static ssize_t st_accel_sysfs_set_sampling_frequency(struct device *dev,
 		struct device_attribute *attr, const char *buf, size_t size)
-- 
1.8.1.1


  parent reply	other threads:[~2013-01-22 16:16 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-21  8:36 STMicroelectronics driver kconfig-makefile bugfix Denis CIOCCA
2013-01-21  8:36 ` [PATCH 1/4] iio:common: Add STMicroelectronics common library Denis CIOCCA
2013-01-22 16:15   ` Jonathan Cameron
2013-01-22 16:16     ` [PATCH 00/10] Some little cleanups and fixlets for the ST sensor drivers Jonathan Cameron
2013-01-22 16:16       ` [PATCH 01/10] iio:st_sensors drop some unused exports Jonathan Cameron
2013-01-22 16:16       ` [PATCH 02/10] iio:accel:st_accel move the header from include/iio/common to Jonathan Cameron
2013-01-22 16:16       ` [PATCH 03/10] iio:gyro:st_gyro move header from linux/iio/gyro to Jonathan Cameron
2013-01-22 16:16       ` [PATCH 04/10] iio:magn:st_magn move header from linux/iio/magn/ to Jonathan Cameron
2013-01-22 16:16       ` Jonathan Cameron [this message]
2013-01-22 16:16       ` [PATCH 06/10] iio:gyro:st_gyro drop unwanted EXPORT_SYMBOLs Jonathan Cameron
2013-01-22 16:16       ` [PATCH 07/10] iio:magn:st_magn " Jonathan Cameron
2013-01-22 16:16       ` [PATCH 08/10] iio:accel:st_accel drop incorrect line from kconfig comment Jonathan Cameron
2013-01-22 16:16       ` [PATCH 09/10] iio:gyro:st_gyro " Jonathan Cameron
2013-01-22 16:16       ` [PATCH 10/10] iio:magn:st_magn drop incorrect line from Kconfig Jonathan Cameron
2013-01-23  9:33   ` [PATCH 1/4] iio:common: Add STMicroelectronics common library Lars-Peter Clausen
2013-01-21  8:36 ` [PATCH 2/4] iio:accel: Add STMicroelectronics accelerometers driver Denis CIOCCA
2013-01-23  9:45   ` Lars-Peter Clausen
2013-01-21  8:36 ` [PATCH 3/4] iio:gyro: Add STMicroelectronics gyroscopes driver Denis CIOCCA
2013-01-21  8:36 ` [PATCH 4/4] iio:magnetometer: Add STMicroelectronics magnetometers driver Denis CIOCCA

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1358871399-11216-6-git-send-email-jic23@kernel.org \
    --to=jic23@kernel.org \
    --cc=denis.ciocca@st.com \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).