aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-bfin.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pwm/pwm-bfin.c')
-rw-r--r--drivers/pwm/pwm-bfin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pwm/pwm-bfin.c b/drivers/pwm/pwm-bfin.c
index 5da8e185e838..7631ef194de7 100644
--- a/drivers/pwm/pwm-bfin.c
+++ b/drivers/pwm/pwm-bfin.c
@@ -139,7 +139,7 @@ static int bfin_pwm_probe(struct platform_device *pdev)
139 return 0; 139 return 0;
140} 140}
141 141
142static int __devexit bfin_pwm_remove(struct platform_device *pdev) 142static int bfin_pwm_remove(struct platform_device *pdev)
143{ 143{
144 struct bfin_pwm_chip *pwm = platform_get_drvdata(pdev); 144 struct bfin_pwm_chip *pwm = platform_get_drvdata(pdev);
145 145
@@ -151,7 +151,7 @@ static struct platform_driver bfin_pwm_driver = {
151 .name = "bfin-pwm", 151 .name = "bfin-pwm",
152 }, 152 },
153 .probe = bfin_pwm_probe, 153 .probe = bfin_pwm_probe,
154 .remove = __devexit_p(bfin_pwm_remove), 154 .remove = bfin_pwm_remove,
155}; 155};
156 156
157module_platform_driver(bfin_pwm_driver); 157module_platform_driver(bfin_pwm_driver);