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

Commit a4c84e6a authored by Xiubo Li's avatar Xiubo Li Committed by Bryan Wu
Browse files

leds: gpio: cleanup the leds-gpio driver



Remove stray blank line and space.

Signed-off-by: default avatarXiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: default avatarBryan Wu <cooloney@gmail.com>
parent a823e761
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -235,14 +235,12 @@ static struct gpio_leds_priv *gpio_leds_create_of(struct platform_device *pdev)
}
#endif /* CONFIG_OF_GPIO */


static int gpio_led_probe(struct platform_device *pdev)
{
	struct gpio_led_platform_data *pdata = dev_get_platdata(&pdev->dev);
	struct gpio_leds_priv *priv;
	int i, ret = 0;


	if (pdata && pdata->num_leds) {
		priv = devm_kzalloc(&pdev->dev,
				sizeof_gpio_leds_priv(pdata->num_leds),