summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-atmel-pwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds/leds-atmel-pwm.c')
-rw-r--r--drivers/leds/leds-atmel-pwm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/leds/leds-atmel-pwm.c b/drivers/leds/leds-atmel-pwm.c
index 8a39c5b..90518f8 100644
--- a/drivers/leds/leds-atmel-pwm.c
+++ b/drivers/leds/leds-atmel-pwm.c
@@ -129,7 +129,6 @@ static int pwmled_remove(struct platform_device *pdev)
pwm_channel_free(&led->pwmc);
}
- platform_set_drvdata(pdev, NULL);
return 0;
}