aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-puv3.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pwm/pwm-puv3.c')
-rw-r--r--drivers/pwm/pwm-puv3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pwm/pwm-puv3.c b/drivers/pwm/pwm-puv3.c
index 2a93f37c46ad..b882f6032fee 100644
--- a/drivers/pwm/pwm-puv3.c
+++ b/drivers/pwm/pwm-puv3.c
@@ -101,7 +101,7 @@ static const struct pwm_ops puv3_pwm_ops = {
101 .owner = THIS_MODULE, 101 .owner = THIS_MODULE,
102}; 102};
103 103
104static int __devinit pwm_probe(struct platform_device *pdev) 104static int pwm_probe(struct platform_device *pdev)
105{ 105{
106 struct puv3_pwm_chip *puv3; 106 struct puv3_pwm_chip *puv3;
107 struct resource *r; 107 struct resource *r;
@@ -142,7 +142,7 @@ static int __devinit pwm_probe(struct platform_device *pdev)
142 return 0; 142 return 0;
143} 143}
144 144
145static int __devexit pwm_remove(struct platform_device *pdev) 145static int pwm_remove(struct platform_device *pdev)
146{ 146{
147 struct puv3_pwm_chip *puv3 = platform_get_drvdata(pdev); 147 struct puv3_pwm_chip *puv3 = platform_get_drvdata(pdev);
148 148
@@ -154,7 +154,7 @@ static struct platform_driver puv3_pwm_driver = {
154 .name = "PKUnity-v3-PWM", 154 .name = "PKUnity-v3-PWM",
155 }, 155 },
156 .probe = pwm_probe, 156 .probe = pwm_probe,
157 .remove = __devexit_p(pwm_remove), 157 .remove = pwm_remove,
158}; 158};
159module_platform_driver(puv3_pwm_driver); 159module_platform_driver(puv3_pwm_driver);
160 160