Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 40b9e4fa authored by Anjana Sasindran's avatar Anjana Sasindran Committed by Linus Walleij
Browse files

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: default avatarAnjana Sasindran <anjanasasindran123@gmail.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent ac5a186e
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -101,6 +101,7 @@ static void lantiq_load_pin_desc(struct pinctrl_pin_desc *d, int bank, int len)
	for (i = 0; i < len; i++) {
	for (i = 0; i < len; i++) {
		/* strlen("ioXYZ") + 1 = 6 */
		/* strlen("ioXYZ") + 1 = 6 */
		char *name = kzalloc(6, GFP_KERNEL);
		char *name = kzalloc(6, GFP_KERNEL);

		snprintf(name, 6, "io%d", base + i);
		snprintf(name, 6, "io%d", base + i);
		d[i].number = base + i;
		d[i].number = base + i;
		d[i].name = name;
		d[i].name = name;