Linux IIO development
 help / color / mirror / Atom feed
From: Antoniu Miclaus <antoniu.miclaus@analog.com>
To: "Jonathan Cameron" <jic23@kernel.org>,
	"David Lechner" <dlechner@baylibre.com>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"Andy Shevchenko" <andy@kernel.org>,
	"Jagath Jog J" <jagathjog1996@gmail.com>,
	"Subhajit Ghosh" <subhajit.ghosh@tweaklogic.com>,
	"Antoniu Miclaus" <antoniu.miclaus@analog.com>,
	"Marcelo Schmitt" <marcelo.schmitt1@gmail.com>,
	"Eugene Zaikonnikov" <ez@norphonic.com>,
	linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] iio: light: gp2ap020a00f: remove unused debug_reg_addr
Date: Thu, 29 Jan 2026 19:42:38 +0200	[thread overview]
Message-ID: <20260129174253.39574-4-antoniu.miclaus@analog.com> (raw)
In-Reply-To: <20260129174253.39574-1-antoniu.miclaus@analog.com>

Remove unused debug_reg_addr field from gp2ap020a00f_data
struct. The field is declared but never accessed in the
driver.

Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
---
 drivers/iio/light/gp2ap020a00f.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/iio/light/gp2ap020a00f.c b/drivers/iio/light/gp2ap020a00f.c
index c7df4b258e2c..7cdd61db7096 100644
--- a/drivers/iio/light/gp2ap020a00f.c
+++ b/drivers/iio/light/gp2ap020a00f.c
@@ -246,7 +246,6 @@ struct gp2ap020a00f_data {
 	struct iio_trigger *trig;
 	struct regmap *regmap;
 	unsigned int thresh_val[4];
-	u8 debug_reg_addr;
 	struct irq_work work;
 	wait_queue_head_t data_ready_queue;
 };
-- 
2.43.0


  parent reply	other threads:[~2026-01-29 17:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-29 17:42 [PATCH] iio: humidity: hdc2010: remove unused interrupt_config Antoniu Miclaus
2026-01-29 17:42 ` [PATCH] iio: imu: bmi323: remove unused drdy_trigger_enabled Antoniu Miclaus
2026-01-29 17:42 ` [PATCH] iio: light: apds9306: remove unused nlux_per_count Antoniu Miclaus
2026-01-29 22:36   ` Subhajit Ghosh
2026-01-29 17:42 ` Antoniu Miclaus [this message]
2026-01-31 17:01 ` [PATCH] iio: humidity: hdc2010: remove unused interrupt_config Jonathan Cameron

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=20260129174253.39574-4-antoniu.miclaus@analog.com \
    --to=antoniu.miclaus@analog.com \
    --cc=andy@kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=ez@norphonic.com \
    --cc=jagathjog1996@gmail.com \
    --cc=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.schmitt1@gmail.com \
    --cc=nuno.sa@analog.com \
    --cc=subhajit.ghosh@tweaklogic.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox