iio: light: opt4060: Remove dead code
PATCH 1/1 iio: light: opt4060: Remove dead code
The struct opt4060_channel_factor data type was never used. Remove it.
Signed-off-by Andy Shevchenko <[email protected]>
--- drivers/iio/light/opt4060.c | 5 ----- 1 file changed, 5 deletions(-)
drivers/iio/light/opt4060.c +0 -5
@@ -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 },
Signature · 1 line
2.50.1
Quoted 4 lines · On Tue, 17 Nov 2026 10:10:06 +0100 Andy Shevchenko…
The struct
opt4060_channel_factordata type was never used. Remove it.Signed-off-by Andy Shevchenko <[email protected]>---
Reviewed-by Joshua Crofts <[email protected]>
Signature · 2 lines
Kind regards, Joshua Crofts
Jonathan Cameron
AppliedQuoted 10 lines · On Wed, 18 Nov 2026 09:24:00 +0100 Joshua Crofts <[email protected]> wrote:
Quoted 4 lines · On Tue, 17 Nov 2026 10:10:06 +0100 Andy Shevchenko…
The struct
opt4060_channel_factordata type was never used. Remove it.Signed-off-by Andy Shevchenko <[email protected]>---
Reviewed-by Joshua Crofts <[email protected]>
Applied.