diff options
Diffstat (limited to 'drivers/leds/leds-lp8788.c')
-rw-r--r-- | drivers/leds/leds-lp8788.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-lp8788.c b/drivers/leds/leds-lp8788.c index 0ade6ebfc914..64009a176651 100644 --- a/drivers/leds/leds-lp8788.c +++ b/drivers/leds/leds-lp8788.c | |||
@@ -172,7 +172,7 @@ static int __devexit lp8788_led_remove(struct platform_device *pdev) | |||
172 | struct lp8788_led *led = platform_get_drvdata(pdev); | 172 | struct lp8788_led *led = platform_get_drvdata(pdev); |
173 | 173 | ||
174 | led_classdev_unregister(&led->led_dev); | 174 | led_classdev_unregister(&led->led_dev); |
175 | flush_work_sync(&led->work); | 175 | flush_work(&led->work); |
176 | 176 | ||
177 | return 0; | 177 | return 0; |
178 | } | 178 | } |