mfd: Modifying the twl4030-power macro name Main_Ref to all caps
authorLesly A M <leslyam@ti.com>
Thu, 14 Apr 2011 12:27:51 +0000 (17:57 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 26 May 2011 17:45:23 +0000 (19:45 +0200)
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>
arch/arm/mach-omap2/board-rx51-peripherals.c
drivers/mfd/twl4030-power.c
include/linux/i2c/twl.h

index bbcb6775a6a3006486b5d64890aca629e66e3ab3..01ee0a15ef8880b18e4214034649a5357109be67 100644 (file)
@@ -730,7 +730,7 @@ static struct twl4030_resconfig twl4030_rconfig[] __initdata = {
        { .resource = RES_RESET, .devgroup = -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
        },
        { 0, 0},
index 8373d79323ccd2389a24225d821e1e62062c3ced..8162e435c9ff35408c7471631f0b27c31287c459 100644 (file)
@@ -120,7 +120,7 @@ static u8 res_config_addrs[] = {
        [RES_HFCLKOUT]  = 0x8b,
        [RES_32KCLKOUT] = 0x8e,
        [RES_RESET]     = 0x91,
-       [RES_Main_Ref]  = 0x94,
+       [RES_MAIN_REF]  = 0x94,
 };
 
 static int __init twl4030_write_script_byte(u8 address, u8 byte)
index 0c0d1ae79981f90e48fa71eea442a8d06026c7f1..4ebd7c32bc594c7cb8a62a87b9780dbafe23f000 100644 (file)
@@ -501,7 +501,7 @@ static inline int twl6030_mmc_card_detect(struct device *dev, int slot)
 #define RES_32KCLKOUT           26
 #define RES_RESET               27
 /* Power Reference */
-#define RES_Main_Ref            28
+#define RES_MAIN_REF            28
 
 #define TOTAL_RESOURCES                28
 /*
This page took 0.030196 seconds and 5 git commands to generate.