Skip to content

Commit

Permalink
pinctrl: generic: Fix checkpatch errors
Browse files Browse the repository at this point in the history
Fixes the following type of checkpatch errors:
ERROR: space required before the open parenthesis '('

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Sachin Kamat authored and Linus Walleij committed Mar 27, 2013
1 parent 1ef465c commit b646542
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/pinctrl/pinconf-generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void pinconf_generic_dump_pin(struct pinctrl_dev *pctldev,
if (!ops->is_generic)
return;

for(i = 0; i < ARRAY_SIZE(conf_items); i++) {
for (i = 0; i < ARRAY_SIZE(conf_items); i++) {
unsigned long config;
int ret;

Expand Down Expand Up @@ -95,7 +95,7 @@ void pinconf_generic_dump_group(struct pinctrl_dev *pctldev,
if (!ops->is_generic)
return;

for(i = 0; i < ARRAY_SIZE(conf_items); i++) {
for (i = 0; i < ARRAY_SIZE(conf_items); i++) {
unsigned long config;
int ret;

Expand Down Expand Up @@ -126,7 +126,7 @@ void pinconf_generic_dump_config(struct pinctrl_dev *pctldev,
{
int i;

for(i = 0; i < ARRAY_SIZE(conf_items); i++) {
for (i = 0; i < ARRAY_SIZE(conf_items); i++) {
if (pinconf_to_config_param(config) != conf_items[i].param)
continue;
seq_printf(s, "%s: 0x%x", conf_items[i].display,
Expand Down

0 comments on commit b646542

Please sign in to comment.