Merge tag 'for-3.8-rc1' of git://gitorious.org/linux-pwm/linux-pwm
[sfrench/cifs-2.6.git] / drivers / pwm / pwm-imx.c
index fe3fbdbc86aaeb2333722a3c88e55e42f78c3c71..65a86bdeabedbdfdf35ff66f976cda00114a09a9 100644 (file)
@@ -231,7 +231,7 @@ static const struct of_device_id imx_pwm_dt_ids[] = {
 };
 MODULE_DEVICE_TABLE(of, imx_pwm_dt_ids);
 
-static int __devinit imx_pwm_probe(struct platform_device *pdev)
+static int imx_pwm_probe(struct platform_device *pdev)
 {
        const struct of_device_id *of_id =
                        of_match_device(imx_pwm_dt_ids, &pdev->dev);
@@ -290,7 +290,7 @@ static int __devinit imx_pwm_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit imx_pwm_remove(struct platform_device *pdev)
+static int imx_pwm_remove(struct platform_device *pdev)
 {
        struct imx_chip *imx;
 
@@ -307,7 +307,7 @@ static struct platform_driver imx_pwm_driver = {
                .of_match_table = of_match_ptr(imx_pwm_dt_ids),
        },
        .probe          = imx_pwm_probe,
-       .remove         = __devexit_p(imx_pwm_remove),
+       .remove         = imx_pwm_remove,
 };
 
 module_platform_driver(imx_pwm_driver);