dt-binding: mfd: as3722: correct macro name
Subsystems (2)
PATCH 1/1 dt-binding: mfd: as3722: correct macro name
The macro name for enable3 pin is named as AS3722_EXT_CONTROL_PIN_ENABLE2 which is conflict with the enable2 pin.
Correct this macro name to correctly reflect the enable pin i.e. AS3722_EXT_CONTROL_PIN_ENABLE3.
Signed-off-by Laxman Dewangan <[email protected]>
Reported-by Dan Willemsen <[email protected]>
--- include/dt-bindings/mfd/as3722.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/dt-bindings/mfd/as3722.h +1 -1
@@ -13,7 +13,7 @@/* External control pins */ #define AS3722_EXT_CONTROL_PIN_ENABLE1 1#define AS3722_EXT_CONTROL_PIN_ENABLE2 2 -#define AS3722_EXT_CONTROL_PIN_ENABLE2 3 +#define AS3722_EXT_CONTROL_PIN_ENABLE3 3/* Interrupt numbers for AS3722 */ #define AS3722_IRQ_LID 0
Signature · 1 line
1.8.1.5
Lee Jones
AppliedQuoted 11 lines · Laxman Dewangan
The macro name for enable3 pin is named as
AS3722_EXT_CONTROL_PIN_ENABLE2which is conflict with the enable2 pin.Correct this macro name to correctly reflect the enable pin i.e.
AS3722_EXT_CONTROL_PIN_ENABLE3.Signed-off-by Laxman Dewangan <[email protected]>Reported-by Dan Willemsen <[email protected]>--- include/dt-bindings/mfd/as3722.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Quoted 13 lines
include/dt-bindings/mfd/as3722.h +1
-1@@ -13,7 +13,7 @@/* External control pins */ #define AS3722_EXT_CONTROL_PIN_ENABLE1 1#define AS3722_EXT_CONTROL_PIN_ENABLE2 2 -#define AS3722_EXT_CONTROL_PIN_ENABLE2 3 +#define AS3722_EXT_CONTROL_PIN_ENABLE3 3/* Interrupt numbers for AS3722 */ #define AS3722_IRQ_LID 0
Signature · 4 lines
Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog