]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'leds/for-next'
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 10 Sep 2012 04:42:48 +0000 (14:42 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 10 Sep 2012 04:42:48 +0000 (14:42 +1000)
1  2 
drivers/leds/leds-wm8350.c

index 4c62113f7a77d04a0eb7fb50de7fb84e089514bf,f5d9ac3ff16178480c6b39222170bcca4a82498a..88f23f845595e614c9164b3c1520375d77314521
@@@ -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;
  }