Skip to content

Commit a4c84e6

Browse files
Xiubo Licooloney
authored andcommitted
leds: gpio: cleanup the leds-gpio driver
Remove stray blank line and space. Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>
1 parent a823e76 commit a4c84e6

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎drivers/leds/leds-gpio.c‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ struct gpio_led_data {
3636

3737
static void gpio_led_work(struct work_struct *work)
3838
{
39-
struct gpio_led_data *led_dat =
39+
struct gpio_led_data *led_dat =
4040
container_of(work, struct gpio_led_data, work);
4141

4242
if (led_dat->blinking) {
@@ -235,14 +235,12 @@ static struct gpio_leds_priv *gpio_leds_create_of(struct platform_device *pdev)
235235
}
236236
#endif /* CONFIG_OF_GPIO */
237237

238-
239238
static int gpio_led_probe(struct platform_device *pdev)
240239
{
241240
struct gpio_led_platform_data *pdata = dev_get_platdata(&pdev->dev);
242241
struct gpio_leds_priv *priv;
243242
int i, ret = 0;
244243

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

0 commit comments

Comments
 (0)