]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
iio: light: si1133: remove unused macros
authorJoshua Crofts <joshua.crofts1@gmail.com>
Tue, 5 May 2026 07:31:28 +0000 (09:31 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 31 May 2026 09:59:34 +0000 (10:59 +0100)
Remove unused macros unrelated to hardware definition.

No functional change.

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Joshua Crofts <joshua.crofts1@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/si1133.c

index bf7bf0f1631d49a1d04b89f172646e4afaf46438..ed9b3e0a12d66d749f09f570de1ccdda2174b6ba 100644 (file)
 #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