]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
pwm: remove use of __devinit
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:23:14 +0000 (13:23 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Nov 2012 20:23:41 +0000 (12:23 -0800)
CONFIG_HOTPLUG is going away as an option so __devinit 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>
drivers/pwm/pwm-ab8500.c
drivers/pwm/pwm-imx.c
drivers/pwm/pwm-jz4740.c
drivers/pwm/pwm-puv3.c
drivers/pwm/pwm-pxa.c
drivers/pwm/pwm-tiecap.c
drivers/pwm/pwm-tiehrpwm.c

index 4a37aa264bafc9630e5864dca981bae4cacabe7d..a2f586ae10930a9fe9fa6e273736a476542eedac 100644 (file)
@@ -90,7 +90,7 @@ static const struct pwm_ops ab8500_pwm_ops = {
        .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;
        int err;
index 369639c5b81eec978f87ec8d4480fa2aa85b305f..0b3c296449b4599f957fb5e90d940d7bf5c4931f 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);
index 14f473d37659bd325e2b4ac186747b937da72899..6b6ec4df0686426b96bba60744207183516cfc12 100644 (file)
@@ -162,7 +162,7 @@ static const struct pwm_ops jz4740_pwm_ops = {
        .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;
        int ret;
index 5d7ee9b075f83e206da5001435eed5f8e93ceaca..c1ee78ad5fcf6a178864f2af2473194679c75ed1 100644 (file)
@@ -101,7 +101,7 @@ static const struct pwm_ops puv3_pwm_ops = {
        .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 resource *r;
index 25fed89256db425b039344314f43dddd7c100e1e..644d45d1453bd6a196a354b8bb1414b8db2c1403 100644 (file)
@@ -135,7 +135,7 @@ static struct pwm_ops pxa_pwm_ops = {
        .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);
        struct pxa_pwm_chip *pwm;
index 71488b1989c24e352f928dc5db1340c82b646ace..0b9f89460b71b03c27b56d5cbb68688515a381fe 100644 (file)
@@ -184,7 +184,7 @@ static const struct pwm_ops ecap_pwm_ops = {
        .owner          = THIS_MODULE,
 };
 
-static int __devinit ecap_pwm_probe(struct platform_device *pdev)
+static int ecap_pwm_probe(struct platform_device *pdev)
 {
        int ret;
        struct resource *r;
index a606b380f9260389f08f04cc4e77935c13feb2a0..7c353c0a9473d1e535306cb766029cb207aedba2 100644 (file)
@@ -392,7 +392,7 @@ static const struct pwm_ops ehrpwm_pwm_ops = {
        .owner          = THIS_MODULE,
 };
 
-static int __devinit ehrpwm_pwm_probe(struct platform_device *pdev)
+static int ehrpwm_pwm_probe(struct platform_device *pdev)
 {
        int ret;
        struct resource *r;