aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-imx.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2013-01-24 06:47:48 -0500
committerIngo Molnar <mingo@kernel.org>2013-01-24 06:47:48 -0500
commitbefddb21c845f8fb49e637997891ef97c6a869dc (patch)
tree0e7629123184f2dd50291ad6d477b894175f0f26 /drivers/pwm/pwm-imx.c
parente716efde75267eab919cdb2bef5b2cb77f305326 (diff)
parent7d1f9aeff1ee4a20b1aeb377dd0f579fe9647619 (diff)
Merge tag 'v3.8-rc4' into irq/core
Merge Linux 3.8-rc4 before pulling in new commits - we were on an old v3.7 base. Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/pwm/pwm-imx.c')
-rw-r--r--drivers/pwm/pwm-imx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c
index 8a5d3ae2946a..65a86bdeabed 100644
--- a/drivers/pwm/pwm-imx.c
+++ b/drivers/pwm/pwm-imx.c
@@ -231,11 +231,11 @@ static const struct of_device_id imx_pwm_dt_ids[] = {
231}; 231};
232MODULE_DEVICE_TABLE(of, imx_pwm_dt_ids); 232MODULE_DEVICE_TABLE(of, imx_pwm_dt_ids);
233 233
234static int __devinit imx_pwm_probe(struct platform_device *pdev) 234static int imx_pwm_probe(struct platform_device *pdev)
235{ 235{
236 const struct of_device_id *of_id = 236 const struct of_device_id *of_id =
237 of_match_device(imx_pwm_dt_ids, &pdev->dev); 237 of_match_device(imx_pwm_dt_ids, &pdev->dev);
238 struct imx_pwm_data *data; 238 const struct imx_pwm_data *data;
239 struct imx_chip *imx; 239 struct imx_chip *imx;
240 struct resource *r; 240 struct resource *r;
241 int ret = 0; 241 int ret = 0;
@@ -290,7 +290,7 @@ static int __devinit imx_pwm_probe(struct platform_device *pdev)
290 return 0; 290 return 0;
291} 291}
292 292
293static int __devexit imx_pwm_remove(struct platform_device *pdev) 293static int imx_pwm_remove(struct platform_device *pdev)
294{ 294{
295 struct imx_chip *imx; 295 struct imx_chip *imx;
296 296
@@ -307,7 +307,7 @@ static struct platform_driver imx_pwm_driver = {
307 .of_match_table = of_match_ptr(imx_pwm_dt_ids), 307 .of_match_table = of_match_ptr(imx_pwm_dt_ids),
308 }, 308 },
309 .probe = imx_pwm_probe, 309 .probe = imx_pwm_probe,
310 .remove = __devexit_p(imx_pwm_remove), 310 .remove = imx_pwm_remove,
311}; 311};
312 312
313module_platform_driver(imx_pwm_driver); 313module_platform_driver(imx_pwm_driver);