diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2012-11-13 03:28:49 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-11-21 10:08:03 -0500 |
commit | 04575d5a3dc15d762c7428d2745d30b2d448e443 (patch) | |
tree | 83e93e3c4cb2367c7d85e93e5cf76ee26b18f790 /include/linux/i2c | |
parent | da059ecfc9f9d98556607c6d6db065aa3b7f162d (diff) |
mfd: twl: Use decimal numbers for TWL6030_MODULE_IDs
It is easier fro humans to understand decimal numbers than hexadecimals when
they are used as indexes.
Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/i2c')
-rw-r--r-- | include/linux/i2c/twl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h index b1c44cccef3..1ff54b114ef 100644 --- a/include/linux/i2c/twl.h +++ b/include/linux/i2c/twl.h | |||
@@ -81,9 +81,9 @@ enum twl4030_module_ids { | |||
81 | #define TWL_MODULE_PWM TWL4030_MODULE_PWM0 | 81 | #define TWL_MODULE_PWM TWL4030_MODULE_PWM0 |
82 | #define TWL_MODULE_LED TWL4030_MODULE_LED | 82 | #define TWL_MODULE_LED TWL4030_MODULE_LED |
83 | 83 | ||
84 | #define TWL6030_MODULE_ID0 0x0D | 84 | #define TWL6030_MODULE_ID0 13 |
85 | #define TWL6030_MODULE_ID1 0x0E | 85 | #define TWL6030_MODULE_ID1 14 |
86 | #define TWL6030_MODULE_ID2 0x0F | 86 | #define TWL6030_MODULE_ID2 15 |
87 | 87 | ||
88 | #define GPIO_INTR_OFFSET 0 | 88 | #define GPIO_INTR_OFFSET 0 |
89 | #define KEYPAD_INTR_OFFSET 1 | 89 | #define KEYPAD_INTR_OFFSET 1 |