diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-03-14 07:54:44 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-03-27 17:22:17 -0400 |
commit | 87ff934afdc50ad171a4b5110bb62eb6ecb3a18f (patch) | |
tree | a7dfa235de6444a954f80f0bc7f52fd3ec211b87 | |
parent | cde6d8dcc3651d4c328f1a2e50dcff98ebe40865 (diff) |
pinctrl/nomadik: Fix checkpatch errors
Fixes the following types of checkpatch errors:
ERROR: space required after that ',' (ctx:VxV)
ERROR: space prohibited before that close parenthesis ')'
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | drivers/pinctrl/pinctrl-nomadik.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pinctrl/pinctrl-nomadik.c b/drivers/pinctrl/pinctrl-nomadik.c index 2328baaa86bf..267d81cfe774 100644 --- a/drivers/pinctrl/pinctrl-nomadik.c +++ b/drivers/pinctrl/pinctrl-nomadik.c | |||
@@ -1565,8 +1565,8 @@ static int nmk_dt_add_map_configs(struct pinctrl_map **map, | |||
1565 | return 0; | 1565 | return 0; |
1566 | } | 1566 | } |
1567 | 1567 | ||
1568 | #define NMK_CONFIG_PIN(x,y) { .property = x, .config = y, } | 1568 | #define NMK_CONFIG_PIN(x, y) { .property = x, .config = y, } |
1569 | #define NMK_CONFIG_PIN_ARRAY(x,y) { .property = x, .choice = y, \ | 1569 | #define NMK_CONFIG_PIN_ARRAY(x, y) { .property = x, .choice = y, \ |
1570 | .size = ARRAY_SIZE(y), } | 1570 | .size = ARRAY_SIZE(y), } |
1571 | 1571 | ||
1572 | static const unsigned long nmk_pin_input_modes[] = { | 1572 | static const unsigned long nmk_pin_input_modes[] = { |
@@ -2068,7 +2068,7 @@ static int nmk_pin_config_set(struct pinctrl_dev *pctldev, unsigned pin, | |||
2068 | pin, cfg, pullnames[pull], slpmnames[slpm], | 2068 | pin, cfg, pullnames[pull], slpmnames[slpm], |
2069 | output ? "output " : "input", | 2069 | output ? "output " : "input", |
2070 | output ? (val ? "high" : "low") : "", | 2070 | output ? (val ? "high" : "low") : "", |
2071 | lowemi ? "on" : "off" ); | 2071 | lowemi ? "on" : "off"); |
2072 | 2072 | ||
2073 | clk_enable(nmk_chip->clk); | 2073 | clk_enable(nmk_chip->clk); |
2074 | bit = pin % NMK_GPIO_PER_CHIP; | 2074 | bit = pin % NMK_GPIO_PER_CHIP; |