Skip to content

Commit ff032cc

Browse files
cjd8jic23
authored andcommitted
iio: light: si1133: remove unused macros
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>
1 parent 8c50a95 commit ff032cc

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

drivers/iio/light/si1133.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,9 @@
8686
#define SI1133_CMD_MINSLEEP_US_LOW 5000
8787
#define SI1133_CMD_MINSLEEP_US_HIGH 7500
8888
#define SI1133_CMD_TIMEOUT_MS 25
89-
#define SI1133_CMD_LUX_TIMEOUT_MS 5000
90-
#define SI1133_CMD_TIMEOUT_US SI1133_CMD_TIMEOUT_MS * 1000
9189

9290
#define SI1133_REG_HOSTOUT(x) (x) + 0x13
9391

94-
#define SI1133_MEASUREMENT_FREQUENCY 1250
95-
9692
#define SI1133_X_ORDER_MASK 0x0070
9793
#define SI1133_Y_ORDER_MASK 0x0007
9894
#define si1133_get_x_order(m) ((m) & SI1133_X_ORDER_MASK) >> 4

0 commit comments

Comments
 (0)