All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: linux-iio@vger.kernel.org,
	"David Lechner" <dlechner@baylibre.com>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"Andy Shevchenko" <andy@kernel.org>
Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Subject: [PATCH 1/2] iio: potentiometer: Drop unused export.h includes
Date: Mon,  9 Jun 2025 08:06:15 +0100	[thread overview]
Message-ID: <20250609070616.3923709-2-jic23@kernel.org> (raw)
In-Reply-To: <20250609070616.3923709-1-jic23@kernel.org>

From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

Resolves:
  warning: EXPORT_SYMBOL() is not used, but #include <linux/export.h> is present

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
---
 drivers/iio/potentiometer/ds1803.c  | 1 -
 drivers/iio/potentiometer/mcp4131.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/drivers/iio/potentiometer/ds1803.c b/drivers/iio/potentiometer/ds1803.c
index 5761f69c538a..8a64d93f7e7b 100644
--- a/drivers/iio/potentiometer/ds1803.c
+++ b/drivers/iio/potentiometer/ds1803.c
@@ -13,7 +13,6 @@
  */
 
 #include <linux/err.h>
-#include <linux/export.h>
 #include <linux/i2c.h>
 #include <linux/iio/iio.h>
 #include <linux/module.h>
diff --git a/drivers/iio/potentiometer/mcp4131.c b/drivers/iio/potentiometer/mcp4131.c
index 9082b559d029..ad082827aad5 100644
--- a/drivers/iio/potentiometer/mcp4131.c
+++ b/drivers/iio/potentiometer/mcp4131.c
@@ -33,7 +33,6 @@
 
 #include <linux/cache.h>
 #include <linux/err.h>
-#include <linux/export.h>
 #include <linux/iio/iio.h>
 #include <linux/iio/types.h>
 #include <linux/module.h>
-- 
2.49.0


  reply	other threads:[~2025-06-09  7:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-09  7:06 [PATCH 0/2] IIO: Drop some unneeded export.h includes Jonathan Cameron
2025-06-09  7:06 ` Jonathan Cameron [this message]
2025-06-09  9:28   ` [PATCH 1/2] iio: potentiometer: Drop unused " Andy Shevchenko
2025-06-11 16:32     ` Jonathan Cameron
2025-06-09  7:06 ` [PATCH 2/2] iio: dummy: Drop unused export.h include Jonathan Cameron
2025-06-09  9:27   ` Andy Shevchenko
2025-06-09  9:39     ` Jonathan Cameron
2025-06-11 16:32       ` Jonathan Cameron
2025-06-11 17:48         ` Andy Shevchenko
2025-06-09  7:18 ` [PATCH 0/2] IIO: Drop some unneeded export.h includes Nuno Sá

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=20250609070616.3923709-2-jic23@kernel.org \
    --to=jic23@kernel.org \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=andy@kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=nuno.sa@analog.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.