power: remove use of __devexit
[deliverable/linux.git] / drivers / power / da9052-battery.c
index d9d034d7496f7c3adeaf4af5e0d72bf02f522a7d..bb0df8917adcc92b70ec40c77700f141e737ba2a 100644 (file)
@@ -576,7 +576,7 @@ static const char *const da9052_bat_irqs[] = {
        "CHG END",
 };
 
-static s32 __devinit da9052_bat_probe(struct platform_device *pdev)
+static s32 da9052_bat_probe(struct platform_device *pdev)
 {
        struct da9052_pdata *pdata;
        struct da9052_battery *bat;
@@ -630,7 +630,7 @@ err:
        kfree(bat);
        return ret;
 }
-static int __devexit da9052_bat_remove(struct platform_device *pdev)
+static int da9052_bat_remove(struct platform_device *pdev)
 {
        int i;
        int irq;
@@ -648,7 +648,7 @@ static int __devexit da9052_bat_remove(struct platform_device *pdev)
 
 static struct platform_driver da9052_bat_driver = {
        .probe = da9052_bat_probe,
-       .remove = __devexit_p(da9052_bat_remove),
+       .remove = da9052_bat_remove,
        .driver = {
                .name = "da9052-bat",
                .owner = THIS_MODULE,
This page took 0.025262 seconds and 5 git commands to generate.