mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 22:50:41 +00:00
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>
This commit is contained in:
parent
da059ecfc9
commit
04575d5a3d
@ -81,9 +81,9 @@ enum twl4030_module_ids {
|
||||
#define TWL_MODULE_PWM TWL4030_MODULE_PWM0
|
||||
#define TWL_MODULE_LED TWL4030_MODULE_LED
|
||||
|
||||
#define TWL6030_MODULE_ID0 0x0D
|
||||
#define TWL6030_MODULE_ID1 0x0E
|
||||
#define TWL6030_MODULE_ID2 0x0F
|
||||
#define TWL6030_MODULE_ID0 13
|
||||
#define TWL6030_MODULE_ID1 14
|
||||
#define TWL6030_MODULE_ID2 15
|
||||
|
||||
#define GPIO_INTR_OFFSET 0
|
||||
#define KEYPAD_INTR_OFFSET 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user