ARM: ux500: delete remnant pin config macros
Subsystems (3)
PATCH 1/1 ARM: ux500: delete remnant pin config macros
This deletes a few final pin configuration macros from the ux500.
Signed-off-by Linus Walleij <[email protected]>
--- arch/arm/mach-ux500/board-mop500-pins.c | 22 ---------------------- 1 file changed, 22 deletions(-)
arch/arm/mach-ux500/board-mop500-pins.c +0 -22
@@ -23,28 +23,6 @@ BIAS(abx500_out_lo, PIN_CONF_PACKED(PIN_CONFIG_OUTPUT, 0));BIAS (abx500_in_pd,PIN_CONF_PACKED (PIN_CONFIG_BIAS_PULL_DOWN ,1 ));BIAS (abx500_in_nopull,PIN_CONF_PACKED (PIN_CONFIG_BIAS_PULL_DOWN ,0 )); -/* We use these to define hog settings that are always done on boot */ -#define DB8500_MUX_HOG (group,func) \ - PIN_MAP_MUX_GROUP_HOG_DEFAULT("pinctrl-db8500", group, func) -#define DB8500_PIN_HOG (pin,conf) \ - PIN_MAP_CONFIGS_PIN_HOG_DEFAULT("pinctrl-db8500", pin, conf) - -/* These are default states associated with device and changed runtime */ -#define DB8500_MUX (group,func,dev) \ - PIN_MAP_MUX_GROUP_DEFAULT(dev, "pinctrl-db8500", group, func) -#define DB8500_PIN (pin,conf,dev) \ - PIN_MAP_CONFIGS_PIN_DEFAULT(dev, "pinctrl-db8500", pin, conf) -#define DB8500_PIN_IDLE (pin, conf, dev) \ - PIN_MAP_CONFIGS_PIN(dev, PINCTRL_STATE_IDLE, "pinctrl-db8500", \ - pin, conf) -#define DB8500_PIN_SLEEP (pin, conf, dev) \ - PIN_MAP_CONFIGS_PIN(dev, PINCTRL_STATE_SLEEP, "pinctrl-db8500", \ - pin, conf) -#define DB8500_MUX_STATE (group, func, dev, state) \ - PIN_MAP_MUX_GROUP(dev, state, "pinctrl-db8500", group, func) -#define DB8500_PIN_STATE (pin, conf, dev, state) \ - PIN_MAP_CONFIGS_PIN(dev, state, "pinctrl-db8500", pin, conf) -#define AB8500_MUX_HOG (group, func) \ PIN_MAP_MUX_GROUP_HOG_DEFAULT("pinctrl-ab8500.0", group, func)#define AB8500_PIN_HOG (pin, conf) \
Signature · 1 line
1.8.3.1
PATCH 1/1 ARM: ux500: delete remnant pin config macros
Quoted 7 lines · Linus Walleij
This deletes a few final pin configuration macros from the ux500.
Signed-off-by Linus Walleij <[email protected]>--- arch/arm/mach-ux500/board-mop500-pins.c | 22 ---------------------- 1 file changed, 22 deletions(-)
Acked-by Lee Jones <[email protected]>
Signature · 4 lines
Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org ? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog