|
@@ -600,7 +600,6 @@ err:
|
|
static __devexit int wm831x_buckv_remove(struct platform_device *pdev)
|
|
static __devexit int wm831x_buckv_remove(struct platform_device *pdev)
|
|
{
|
|
{
|
|
struct wm831x_dcdc *dcdc = platform_get_drvdata(pdev);
|
|
struct wm831x_dcdc *dcdc = platform_get_drvdata(pdev);
|
|
- struct wm831x *wm831x = dcdc->wm831x;
|
|
|
|
|
|
|
|
platform_set_drvdata(pdev, NULL);
|
|
platform_set_drvdata(pdev, NULL);
|
|
|
|
|
|
@@ -776,7 +775,6 @@ err:
|
|
static __devexit int wm831x_buckp_remove(struct platform_device *pdev)
|
|
static __devexit int wm831x_buckp_remove(struct platform_device *pdev)
|
|
{
|
|
{
|
|
struct wm831x_dcdc *dcdc = platform_get_drvdata(pdev);
|
|
struct wm831x_dcdc *dcdc = platform_get_drvdata(pdev);
|
|
- struct wm831x *wm831x = dcdc->wm831x;
|
|
|
|
|
|
|
|
platform_set_drvdata(pdev, NULL);
|
|
platform_set_drvdata(pdev, NULL);
|
|
|
|
|