]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - drivers/regulator/tps65910-regulator.c
Merge remote-tracking branch 'regulator/topic/tps65910' into regulator-next
[~shefty/rdma-dev.git] / drivers / regulator / tps65910-regulator.c
index 1d2dd1864ae75e9b9703a7a44ac73d4c9eb9c308..59c3770fa77dbe5b77ae1b3c96c1e105cae8f58e 100644 (file)
@@ -1033,7 +1033,7 @@ static inline struct tps65910_board *tps65910_parse_dt_reg_data(
 }
 #endif
 
-static __devinit int tps65910_probe(struct platform_device *pdev)
+static int tps65910_probe(struct platform_device *pdev)
 {
        struct tps65910 *tps65910 = dev_get_drvdata(pdev->dev.parent);
        struct regulator_config config = { };
@@ -1191,7 +1191,7 @@ err_unregister_regulator:
        return err;
 }
 
-static int __devexit tps65910_remove(struct platform_device *pdev)
+static int tps65910_remove(struct platform_device *pdev)
 {
        struct tps65910_reg *pmic = platform_get_drvdata(pdev);
        int i;
@@ -1238,7 +1238,7 @@ static struct platform_driver tps65910_driver = {
                .owner = THIS_MODULE,
        },
        .probe = tps65910_probe,
-       .remove = __devexit_p(tps65910_remove),
+       .remove = tps65910_remove,
        .shutdown = tps65910_shutdown,
 };