From: Stephen Rothwell Date: Wed, 26 Sep 2012 04:14:04 +0000 (+1000) Subject: Merge remote-tracking branch 'leds/for-next' X-Git-Tag: next-20120926~25 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a6ea3a9adff088130ca84b632bdcd1ef4d716ba3;p=karo-tx-linux.git Merge remote-tracking branch 'leds/for-next' --- a6ea3a9adff088130ca84b632bdcd1ef4d716ba3 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; }