Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: drivers: pinctrl: Fixed checkpatch.pl warnings

This patch fixes two checkpatch.pl warnings

WARNING: Error trailing white space
WARNING: MIssing blank line after declaration

Signed-off-by: Anjana Sasindran <anjanasasindran123@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Anjana Sasindran and committed by
Linus Walleij
40b9e4fa ac5a186e

+2 -1
+2 -1
drivers/pinctrl/pinctrl-falcon.c
··· 101 101 for (i = 0; i < len; i++) { 102 102 /* strlen("ioXYZ") + 1 = 6 */ 103 103 char *name = kzalloc(6, GFP_KERNEL); 104 + 104 105 snprintf(name, 6, "io%d", base + i); 105 106 d[i].number = base + i; 106 107 d[i].name = name; ··· 464 463 &res); 465 464 if (IS_ERR(falcon_info.membase[*bank])) 466 465 return PTR_ERR(falcon_info.membase[*bank]); 467 - 466 + 468 467 avail = pad_r32(falcon_info.membase[*bank], 469 468 LTQ_PADC_AVAIL); 470 469 pins = fls(avail);