mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-14 17:35:42 +00:00
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>
This commit is contained in:
parent
cde6d8dcc3
commit
87ff934afd
@ -1565,8 +1565,8 @@ static int nmk_dt_add_map_configs(struct pinctrl_map **map,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define NMK_CONFIG_PIN(x,y) { .property = x, .config = y, }
|
#define NMK_CONFIG_PIN(x, y) { .property = x, .config = y, }
|
||||||
#define NMK_CONFIG_PIN_ARRAY(x,y) { .property = x, .choice = y, \
|
#define NMK_CONFIG_PIN_ARRAY(x, y) { .property = x, .choice = y, \
|
||||||
.size = ARRAY_SIZE(y), }
|
.size = ARRAY_SIZE(y), }
|
||||||
|
|
||||||
static const unsigned long nmk_pin_input_modes[] = {
|
static const unsigned long nmk_pin_input_modes[] = {
|
||||||
@ -2068,7 +2068,7 @@ static int nmk_pin_config_set(struct pinctrl_dev *pctldev, unsigned pin,
|
|||||||
pin, cfg, pullnames[pull], slpmnames[slpm],
|
pin, cfg, pullnames[pull], slpmnames[slpm],
|
||||||
output ? "output " : "input",
|
output ? "output " : "input",
|
||||||
output ? (val ? "high" : "low") : "",
|
output ? (val ? "high" : "low") : "",
|
||||||
lowemi ? "on" : "off" );
|
lowemi ? "on" : "off");
|
||||||
|
|
||||||
clk_enable(nmk_chip->clk);
|
clk_enable(nmk_chip->clk);
|
||||||
bit = pin % NMK_GPIO_PER_CHIP;
|
bit = pin % NMK_GPIO_PER_CHIP;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user