Skip to content

Commit d7ac829

Browse files
Lesly A MSamuel Ortiz
authored andcommitted
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>
1 parent 1f968ff commit d7ac829

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎arch/arm/mach-omap2/board-rx51-peripherals.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ static struct twl4030_resconfig twl4030_rconfig[] __initdata = {
730730
{ .resource = RES_RESET, .devgroup = -1,
731731
.type = 1, .type2 = -1, .remap_off = -1, .remap_sleep = -1
732732
},
733-
{ .resource = RES_Main_Ref, .devgroup = -1,
733+
{ .resource = RES_MAIN_REF, .devgroup = -1,
734734
.type = 1, .type2 = -1, .remap_off = -1, .remap_sleep = -1
735735
},
736736
{ 0, 0},

‎drivers/mfd/twl4030-power.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ static u8 res_config_addrs[] = {
120120
[RES_HFCLKOUT] = 0x8b,
121121
[RES_32KCLKOUT] = 0x8e,
122122
[RES_RESET] = 0x91,
123-
[RES_Main_Ref] = 0x94,
123+
[RES_MAIN_REF] = 0x94,
124124
};
125125

126126
static int __init twl4030_write_script_byte(u8 address, u8 byte)

‎include/linux/i2c/twl.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ static inline int twl6030_mmc_card_detect(struct device *dev, int slot)
501501
#define RES_32KCLKOUT 26
502502
#define RES_RESET 27
503503
/* Power Reference */
504-
#define RES_Main_Ref 28
504+
#define RES_MAIN_REF 28
505505

506506
#define TOTAL_RESOURCES 28
507507
/*

0 commit comments

Comments
 (0)