mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
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>
This commit is contained in:
parent
8c50a95ceb
commit
ff032cc038
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user