Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Lesly A M and committed by
Samuel Ortiz
d7ac829f 1f968ff6

+3 -3
+1 -1
arch/arm/mach-omap2/board-rx51-peripherals.c
··· 730 730 { .resource = RES_RESET, .devgroup = -1, 731 731 .type = 1, .type2 = -1, .remap_off = -1, .remap_sleep = -1 732 732 }, 733 - { .resource = RES_Main_Ref, .devgroup = -1, 733 + { .resource = RES_MAIN_REF, .devgroup = -1, 734 734 .type = 1, .type2 = -1, .remap_off = -1, .remap_sleep = -1 735 735 }, 736 736 { 0, 0},
+1 -1
drivers/mfd/twl4030-power.c
··· 120 120 [RES_HFCLKOUT] = 0x8b, 121 121 [RES_32KCLKOUT] = 0x8e, 122 122 [RES_RESET] = 0x91, 123 - [RES_Main_Ref] = 0x94, 123 + [RES_MAIN_REF] = 0x94, 124 124 }; 125 125 126 126 static int __init twl4030_write_script_byte(u8 address, u8 byte)
+1 -1
include/linux/i2c/twl.h
··· 501 501 #define RES_32KCLKOUT 26 502 502 #define RES_RESET 27 503 503 /* Power Reference */ 504 - #define RES_Main_Ref 28 504 + #define RES_MAIN_REF 28 505 505 506 506 #define TOTAL_RESOURCES 28 507 507 /*