diff mbox

pinctrl: max77620: fix semicolon.cocci warnings

Message ID alpine.DEB.2.10.1601121148240.5214@hadrien
State New
Headers show

Commit Message

Julia Lawall Jan. 12, 2016, 10:49 a.m. UTC
Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
---

 pinctrl-max77620.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- a/drivers/pinctrl/pinctrl-max77620.c
+++ b/drivers/pinctrl/pinctrl-max77620.c
@@ -394,7 +394,7 @@  static int max77620_set_fps_param(struct
 		dev_err(mpci->dev, "Invalid parameter %d for pin %d\n",
 			param, pin);
 		return -EINVAL;
-	};
+	}

 	if (param_val < 0)
 		return 0;