summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel_mid_powerbtn.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/platform/x86/intel_mid_powerbtn.c')
-rw-r--r--drivers/platform/x86/intel_mid_powerbtn.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/platform/x86/intel_mid_powerbtn.c b/drivers/platform/x86/intel_mid_powerbtn.c
index f59683aa13d5..6b18aba82cfa 100644
--- a/drivers/platform/x86/intel_mid_powerbtn.c
+++ b/drivers/platform/x86/intel_mid_powerbtn.c
@@ -128,7 +128,6 @@ static int mfld_pb_remove(struct platform_device *pdev)
free_irq(irq, input);
input_unregister_device(input);
- platform_set_drvdata(pdev, NULL);
return 0;
}