Commit 3e9fe83d authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

pwm: remove use of __devinit

CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.
Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Acked-by: default avatarThierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fd109112
...@@ -90,7 +90,7 @@ static const struct pwm_ops ab8500_pwm_ops = { ...@@ -90,7 +90,7 @@ static const struct pwm_ops ab8500_pwm_ops = {
.disable = ab8500_pwm_disable, .disable = ab8500_pwm_disable,
}; };
static int __devinit ab8500_pwm_probe(struct platform_device *pdev) static int ab8500_pwm_probe(struct platform_device *pdev)
{ {
struct ab8500_pwm_chip *ab8500; struct ab8500_pwm_chip *ab8500;
int err; int err;
......
...@@ -231,7 +231,7 @@ static const struct of_device_id imx_pwm_dt_ids[] = { ...@@ -231,7 +231,7 @@ static const struct of_device_id imx_pwm_dt_ids[] = {
}; };
MODULE_DEVICE_TABLE(of, 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 = const struct of_device_id *of_id =
of_match_device(imx_pwm_dt_ids, &pdev->dev); of_match_device(imx_pwm_dt_ids, &pdev->dev);
......
...@@ -162,7 +162,7 @@ static const struct pwm_ops jz4740_pwm_ops = { ...@@ -162,7 +162,7 @@ static const struct pwm_ops jz4740_pwm_ops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}; };
static int __devinit jz4740_pwm_probe(struct platform_device *pdev) static int jz4740_pwm_probe(struct platform_device *pdev)
{ {
struct jz4740_pwm_chip *jz4740; struct jz4740_pwm_chip *jz4740;
int ret; int ret;
......
...@@ -101,7 +101,7 @@ static const struct pwm_ops puv3_pwm_ops = { ...@@ -101,7 +101,7 @@ static const struct pwm_ops puv3_pwm_ops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}; };
static int __devinit pwm_probe(struct platform_device *pdev) static int pwm_probe(struct platform_device *pdev)
{ {
struct puv3_pwm_chip *puv3; struct puv3_pwm_chip *puv3;
struct resource *r; struct resource *r;
......
...@@ -135,7 +135,7 @@ static struct pwm_ops pxa_pwm_ops = { ...@@ -135,7 +135,7 @@ static struct pwm_ops pxa_pwm_ops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}; };
static int __devinit pwm_probe(struct platform_device *pdev) static int pwm_probe(struct platform_device *pdev)
{ {
const struct platform_device_id *id = platform_get_device_id(pdev); const struct platform_device_id *id = platform_get_device_id(pdev);
struct pxa_pwm_chip *pwm; struct pxa_pwm_chip *pwm;
......
...@@ -184,7 +184,7 @@ static const struct pwm_ops ecap_pwm_ops = { ...@@ -184,7 +184,7 @@ static const struct pwm_ops ecap_pwm_ops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}; };
static int __devinit ecap_pwm_probe(struct platform_device *pdev) static int ecap_pwm_probe(struct platform_device *pdev)
{ {
int ret; int ret;
struct resource *r; struct resource *r;
......
...@@ -392,7 +392,7 @@ static const struct pwm_ops ehrpwm_pwm_ops = { ...@@ -392,7 +392,7 @@ static const struct pwm_ops ehrpwm_pwm_ops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}; };
static int __devinit ehrpwm_pwm_probe(struct platform_device *pdev) static int ehrpwm_pwm_probe(struct platform_device *pdev)
{ {
int ret; int ret;
struct resource *r; struct resource *r;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment