From: Joshua Crofts Date: Tue, 5 May 2026 07:31:28 +0000 (+0200) Subject: iio: light: si1133: remove unused macros X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ff032cc038d57bf91986be60dfabf4f5262c4198;p=thirdparty%2Fkernel%2Fstable.git iio: light: si1133: remove unused macros Remove unused macros unrelated to hardware definition. No functional change. Suggested-by: Andy Shevchenko Reviewed-by: Andy Shevchenko Signed-off-by: Joshua Crofts Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/light/si1133.c b/drivers/iio/light/si1133.c index bf7bf0f1631d..ed9b3e0a12d6 100644 --- a/drivers/iio/light/si1133.c +++ b/drivers/iio/light/si1133.c @@ -86,13 +86,9 @@ #define SI1133_CMD_MINSLEEP_US_LOW 5000 #define SI1133_CMD_MINSLEEP_US_HIGH 7500 #define SI1133_CMD_TIMEOUT_MS 25 -#define SI1133_CMD_LUX_TIMEOUT_MS 5000 -#define SI1133_CMD_TIMEOUT_US SI1133_CMD_TIMEOUT_MS * 1000 #define SI1133_REG_HOSTOUT(x) (x) + 0x13 -#define SI1133_MEASUREMENT_FREQUENCY 1250 - #define SI1133_X_ORDER_MASK 0x0070 #define SI1133_Y_ORDER_MASK 0x0007 #define si1133_get_x_order(m) ((m) & SI1133_X_ORDER_MASK) >> 4