pwm: remove use of __devexit_p
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Acked-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4740f73fe5
commit
fd1091125a
|
@ -143,7 +143,7 @@ static struct platform_driver ab8500_pwm_driver = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
},
|
},
|
||||||
.probe = ab8500_pwm_probe,
|
.probe = ab8500_pwm_probe,
|
||||||
.remove = __devexit_p(ab8500_pwm_remove),
|
.remove = ab8500_pwm_remove,
|
||||||
};
|
};
|
||||||
module_platform_driver(ab8500_pwm_driver);
|
module_platform_driver(ab8500_pwm_driver);
|
||||||
|
|
||||||
|
|
|
@ -151,7 +151,7 @@ static struct platform_driver bfin_pwm_driver = {
|
||||||
.name = "bfin-pwm",
|
.name = "bfin-pwm",
|
||||||
},
|
},
|
||||||
.probe = bfin_pwm_probe,
|
.probe = bfin_pwm_probe,
|
||||||
.remove = __devexit_p(bfin_pwm_remove),
|
.remove = bfin_pwm_remove,
|
||||||
};
|
};
|
||||||
|
|
||||||
module_platform_driver(bfin_pwm_driver);
|
module_platform_driver(bfin_pwm_driver);
|
||||||
|
|
|
@ -307,7 +307,7 @@ static struct platform_driver imx_pwm_driver = {
|
||||||
.of_match_table = of_match_ptr(imx_pwm_dt_ids),
|
.of_match_table = of_match_ptr(imx_pwm_dt_ids),
|
||||||
},
|
},
|
||||||
.probe = imx_pwm_probe,
|
.probe = imx_pwm_probe,
|
||||||
.remove = __devexit_p(imx_pwm_remove),
|
.remove = imx_pwm_remove,
|
||||||
};
|
};
|
||||||
|
|
||||||
module_platform_driver(imx_pwm_driver);
|
module_platform_driver(imx_pwm_driver);
|
||||||
|
|
|
@ -211,7 +211,7 @@ static struct platform_driver jz4740_pwm_driver = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
},
|
},
|
||||||
.probe = jz4740_pwm_probe,
|
.probe = jz4740_pwm_probe,
|
||||||
.remove = __devexit_p(jz4740_pwm_remove),
|
.remove = jz4740_pwm_remove,
|
||||||
};
|
};
|
||||||
module_platform_driver(jz4740_pwm_driver);
|
module_platform_driver(jz4740_pwm_driver);
|
||||||
|
|
||||||
|
|
|
@ -138,7 +138,7 @@ static struct platform_driver lpc32xx_pwm_driver = {
|
||||||
.of_match_table = of_match_ptr(lpc32xx_pwm_dt_ids),
|
.of_match_table = of_match_ptr(lpc32xx_pwm_dt_ids),
|
||||||
},
|
},
|
||||||
.probe = lpc32xx_pwm_probe,
|
.probe = lpc32xx_pwm_probe,
|
||||||
.remove = __devexit_p(lpc32xx_pwm_remove),
|
.remove = lpc32xx_pwm_remove,
|
||||||
};
|
};
|
||||||
module_platform_driver(lpc32xx_pwm_driver);
|
module_platform_driver(lpc32xx_pwm_driver);
|
||||||
|
|
||||||
|
|
|
@ -193,7 +193,7 @@ static struct platform_driver mxs_pwm_driver = {
|
||||||
.of_match_table = of_match_ptr(mxs_pwm_dt_ids),
|
.of_match_table = of_match_ptr(mxs_pwm_dt_ids),
|
||||||
},
|
},
|
||||||
.probe = mxs_pwm_probe,
|
.probe = mxs_pwm_probe,
|
||||||
.remove = __devexit_p(mxs_pwm_remove),
|
.remove = mxs_pwm_remove,
|
||||||
};
|
};
|
||||||
module_platform_driver(mxs_pwm_driver);
|
module_platform_driver(mxs_pwm_driver);
|
||||||
|
|
||||||
|
|
|
@ -154,7 +154,7 @@ static struct platform_driver puv3_pwm_driver = {
|
||||||
.name = "PKUnity-v3-PWM",
|
.name = "PKUnity-v3-PWM",
|
||||||
},
|
},
|
||||||
.probe = pwm_probe,
|
.probe = pwm_probe,
|
||||||
.remove = __devexit_p(pwm_remove),
|
.remove = pwm_remove,
|
||||||
};
|
};
|
||||||
module_platform_driver(puv3_pwm_driver);
|
module_platform_driver(puv3_pwm_driver);
|
||||||
|
|
||||||
|
|
|
@ -196,7 +196,7 @@ static struct platform_driver pwm_driver = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
},
|
},
|
||||||
.probe = pwm_probe,
|
.probe = pwm_probe,
|
||||||
.remove = __devexit_p(pwm_remove),
|
.remove = pwm_remove,
|
||||||
.id_table = pwm_id_table,
|
.id_table = pwm_id_table,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -327,7 +327,7 @@ static struct platform_driver s3c_pwm_driver = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
},
|
},
|
||||||
.probe = s3c_pwm_probe,
|
.probe = s3c_pwm_probe,
|
||||||
.remove = __devexit_p(s3c_pwm_remove),
|
.remove = s3c_pwm_remove,
|
||||||
.suspend = s3c_pwm_suspend,
|
.suspend = s3c_pwm_suspend,
|
||||||
.resume = s3c_pwm_resume,
|
.resume = s3c_pwm_resume,
|
||||||
};
|
};
|
||||||
|
|
|
@ -249,7 +249,7 @@ static struct platform_driver tegra_pwm_driver = {
|
||||||
.of_match_table = of_match_ptr(tegra_pwm_of_match),
|
.of_match_table = of_match_ptr(tegra_pwm_of_match),
|
||||||
},
|
},
|
||||||
.probe = tegra_pwm_probe,
|
.probe = tegra_pwm_probe,
|
||||||
.remove = __devexit_p(tegra_pwm_remove),
|
.remove = tegra_pwm_remove,
|
||||||
};
|
};
|
||||||
|
|
||||||
module_platform_driver(tegra_pwm_driver);
|
module_platform_driver(tegra_pwm_driver);
|
||||||
|
|
|
@ -249,7 +249,7 @@ static struct platform_driver ecap_pwm_driver = {
|
||||||
.name = "ecap",
|
.name = "ecap",
|
||||||
},
|
},
|
||||||
.probe = ecap_pwm_probe,
|
.probe = ecap_pwm_probe,
|
||||||
.remove = __devexit_p(ecap_pwm_remove),
|
.remove = ecap_pwm_remove,
|
||||||
};
|
};
|
||||||
|
|
||||||
module_platform_driver(ecap_pwm_driver);
|
module_platform_driver(ecap_pwm_driver);
|
||||||
|
|
|
@ -457,7 +457,7 @@ static struct platform_driver ehrpwm_pwm_driver = {
|
||||||
.name = "ehrpwm",
|
.name = "ehrpwm",
|
||||||
},
|
},
|
||||||
.probe = ehrpwm_pwm_probe,
|
.probe = ehrpwm_pwm_probe,
|
||||||
.remove = __devexit_p(ehrpwm_pwm_remove),
|
.remove = ehrpwm_pwm_remove,
|
||||||
};
|
};
|
||||||
|
|
||||||
module_platform_driver(ehrpwm_pwm_driver);
|
module_platform_driver(ehrpwm_pwm_driver);
|
||||||
|
|
|
@ -176,7 +176,7 @@ static struct platform_driver twl6030_pwm_driver = {
|
||||||
.name = "twl6030-pwm",
|
.name = "twl6030-pwm",
|
||||||
},
|
},
|
||||||
.probe = twl6030_pwm_probe,
|
.probe = twl6030_pwm_probe,
|
||||||
.remove = __devexit_p(twl6030_pwm_remove),
|
.remove = twl6030_pwm_remove,
|
||||||
};
|
};
|
||||||
module_platform_driver(twl6030_pwm_driver);
|
module_platform_driver(twl6030_pwm_driver);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue