From: Stephen Rothwell Date: Fri, 24 Aug 2012 05:53:09 +0000 (+1000) Subject: Merge remote-tracking branch 'leds/for-next' X-Git-Tag: next-20120824~22 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=697f404984a3695c640e917ff60882fda66e94a0;p=karo-tx-linux.git Merge remote-tracking branch 'leds/for-next' --- 697f404984a3695c640e917ff60882fda66e94a0 diff --cc drivers/leds/leds-wm8350.c index 4c62113f7a77,f5d9ac3ff161..88f23f845595 --- a/drivers/leds/leds-wm8350.c +++ b/drivers/leds/leds-wm8350.c @@@ -275,10 -262,8 +262,8 @@@ static int wm8350_led_remove(struct pla struct wm8350_led *led = platform_get_drvdata(pdev); led_classdev_unregister(&led->cdev); - flush_work_sync(&led->work); + flush_work(&led->work); wm8350_led_disable(led); - regulator_put(led->dcdc); - regulator_put(led->isink); return 0; }