mfd: Modifying the twl4030-power macro name Main_Ref to all caps

Modifying the macro name Main_Ref to all caps(MAIN_REF).

Suggested by Nishanth Menon <nm@ti.com>

Signed-off-by: Lesly A M <leslyam@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Cc: David Derrick <dderrick@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Lesly A M 2011-04-14 17:57:51 +05:30 коммит произвёл Samuel Ortiz
Родитель 1f968ff61f
Коммит d7ac829fa3
3 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -730,7 +730,7 @@ static struct twl4030_resconfig twl4030_rconfig[] __initdata = {
{ .resource = RES_RESET, .devgroup = -1, { .resource = RES_RESET, .devgroup = -1,
.type = 1, .type2 = -1, .remap_off = -1, .remap_sleep = -1 .type = 1, .type2 = -1, .remap_off = -1, .remap_sleep = -1
}, },
{ .resource = RES_Main_Ref, .devgroup = -1, { .resource = RES_MAIN_REF, .devgroup = -1,
.type = 1, .type2 = -1, .remap_off = -1, .remap_sleep = -1 .type = 1, .type2 = -1, .remap_off = -1, .remap_sleep = -1
}, },
{ 0, 0}, { 0, 0},

Просмотреть файл

@ -120,7 +120,7 @@ static u8 res_config_addrs[] = {
[RES_HFCLKOUT] = 0x8b, [RES_HFCLKOUT] = 0x8b,
[RES_32KCLKOUT] = 0x8e, [RES_32KCLKOUT] = 0x8e,
[RES_RESET] = 0x91, [RES_RESET] = 0x91,
[RES_Main_Ref] = 0x94, [RES_MAIN_REF] = 0x94,
}; };
static int __init twl4030_write_script_byte(u8 address, u8 byte) static int __init twl4030_write_script_byte(u8 address, u8 byte)

Просмотреть файл

@ -501,7 +501,7 @@ static inline int twl6030_mmc_card_detect(struct device *dev, int slot)
#define RES_32KCLKOUT 26 #define RES_32KCLKOUT 26
#define RES_RESET 27 #define RES_RESET 27
/* Power Reference */ /* Power Reference */
#define RES_Main_Ref 28 #define RES_MAIN_REF 28
#define TOTAL_RESOURCES 28 #define TOTAL_RESOURCES 28
/* /*