* [PATCH v1 1/1] iio: light: opt4060: Remove dead code
@ 2026-11-17 9:10 Andy Shevchenko
2026-11-18 8:24 ` Joshua Crofts
0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2026-11-17 9:10 UTC (permalink / raw)
To: Jonathan Cameron, Kurt Borja, linux-iio
Cc: Jonathan Cameron, David Lechner, Nuno Sá, Andy Shevchenko,
Andy Shevchenko
The struct opt4060_channel_factor data type was never used. Remove it.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/iio/light/opt4060.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/iio/light/opt4060.c b/drivers/iio/light/opt4060.c
index 8253a6a8bee4..3413b1c64d01 100644
--- a/drivers/iio/light/opt4060.c
+++ b/drivers/iio/light/opt4060.c
@@ -145,11 +145,6 @@ struct opt4060_chip {
bool thresh_event_hi_active;
};
-struct opt4060_channel_factor {
- u32 mul;
- u32 div;
-};
-
static const int opt4060_int_time_available[][2] = {
{ 0, 600 },
{ 0, 1000 },
--
2.50.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1 1/1] iio: light: opt4060: Remove dead code
2026-11-17 9:10 [PATCH v1 1/1] iio: light: opt4060: Remove dead code Andy Shevchenko
@ 2026-11-18 8:24 ` Joshua Crofts
0 siblings, 0 replies; 2+ messages in thread
From: Joshua Crofts @ 2026-11-18 8:24 UTC (permalink / raw)
To: Andy Shevchenko
Cc: Jonathan Cameron, Kurt Borja, linux-iio, Jonathan Cameron,
David Lechner, Nuno Sá, Andy Shevchenko
On Tue, 17 Nov 2026 10:10:06 +0100
Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote:
> The struct opt4060_channel_factor data type was never used. Remove it.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
Reviewed-by: Joshua Crofts <crofts@kernel.org>
--
Kind regards,
Joshua Crofts
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-18 8:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-17 9:10 [PATCH v1 1/1] iio: light: opt4060: Remove dead code Andy Shevchenko
2026-11-18 8:24 ` Joshua Crofts
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.