]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/regulator/wm831x-dcdc.c
[media] media: fix radio-sf16fmr2 build when SND is not enabled
[karo-tx-linux.git] / drivers / regulator / wm831x-dcdc.c
index e93453b1b9788020646ca8e1a81964567d99710d..a0982e80985198004ae990218c38718d8616eec6 100644 (file)
@@ -600,7 +600,6 @@ err:
 static __devexit int wm831x_buckv_remove(struct platform_device *pdev)
 {
        struct wm831x_dcdc *dcdc = platform_get_drvdata(pdev);
-       struct wm831x *wm831x = dcdc->wm831x;
 
        platform_set_drvdata(pdev, NULL);
 
@@ -776,7 +775,6 @@ err:
 static __devexit int wm831x_buckp_remove(struct platform_device *pdev)
 {
        struct wm831x_dcdc *dcdc = platform_get_drvdata(pdev);
-       struct wm831x *wm831x = dcdc->wm831x;
 
        platform_set_drvdata(pdev, NULL);