]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/mfd/88pm800.c
mfd: remove use of __devinit
[mirror_ubuntu-artful-kernel.git] / drivers / mfd / 88pm800.c
index ce229ea933d1388467aed017b9f65d4a2f9ef3a1..6746ecd260adf47dafe6ea8d5a34b9f5fe87c818 100644 (file)
@@ -248,7 +248,7 @@ static const struct regmap_irq pm800_irqs[] = {
        },
 };
 
-static int __devinit device_gpadc_init(struct pm80x_chip *chip,
+static int device_gpadc_init(struct pm80x_chip *chip,
                                       struct pm80x_platform_data *pdata)
 {
        struct pm80x_subchip *subchip = chip->subchip;
@@ -315,7 +315,7 @@ out:
        return ret;
 }
 
-static int __devinit device_irq_init_800(struct pm80x_chip *chip)
+static int device_irq_init_800(struct pm80x_chip *chip)
 {
        struct regmap *map = chip->regmap;
        unsigned long flags = IRQF_TRIGGER_FALLING | IRQF_ONESHOT;
@@ -415,7 +415,7 @@ static void pm800_pages_exit(struct pm80x_chip *chip)
        }
 }
 
-static int __devinit device_800_init(struct pm80x_chip *chip,
+static int device_800_init(struct pm80x_chip *chip,
                                     struct pm80x_platform_data *pdata)
 {
        int ret, pmic_id;
@@ -499,7 +499,7 @@ out:
        return ret;
 }
 
-static int __devinit pm800_probe(struct i2c_client *client,
+static int pm800_probe(struct i2c_client *client,
                                 const struct i2c_device_id *id)
 {
        int ret = 0;
@@ -576,7 +576,7 @@ static struct i2c_driver pm800_driver = {
                .pm = &pm80x_pm_ops,
                },
        .probe = pm800_probe,
-       .remove = __devexit_p(pm800_remove),
+       .remove = pm800_remove,
        .id_table = pm80x_id_table,
 };