On Tue, Nov 25, 2014 at 2:44 PM, Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx> wrote: > On 11/25/2014 12:31 PM, Rojhalat Ibrahim wrote: > [...] >> >> static int mdio_mux_gpio_remove(struct platform_device *pdev) >> { >> + unsigned int n; >> struct mdio_mux_gpio_state *s = dev_get_platdata(&pdev->dev); >> mdio_mux_uninit(s->mux_handle); >> + for (n = 0; n < s->num_gpios; n++) { >> + gpiod_put(s->gpio[n]); >> + } > > > {} not needed; scripts/checkpatch.pl should have complained... Yep it complains so I fixed it up when applying the patch. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html