]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - drivers/regulator/max1586.c
Merge remote-tracking branch 'regulator/topic/max1586' into regulator-next
[~shefty/rdma-dev.git] / drivers / regulator / max1586.c
index ed2d3912efde22cfd043ef8e022dd3a6af074753..8c5a54f541b50964567ba739a128b0ae59ec286a 100644 (file)
@@ -159,7 +159,7 @@ static struct regulator_desc max1586_reg[] = {
        },
 };
 
-static int __devinit max1586_pmic_probe(struct i2c_client *client,
+static int max1586_pmic_probe(struct i2c_client *client,
                                        const struct i2c_device_id *i2c_id)
 {
        struct regulator_dev **rdev;
@@ -226,7 +226,7 @@ err:
        return ret;
 }
 
-static int __devexit max1586_pmic_remove(struct i2c_client *client)
+static int max1586_pmic_remove(struct i2c_client *client)
 {
        struct max1586_data *max1586 = i2c_get_clientdata(client);
        int i;
@@ -245,7 +245,7 @@ MODULE_DEVICE_TABLE(i2c, max1586_id);
 
 static struct i2c_driver max1586_pmic_driver = {
        .probe = max1586_pmic_probe,
-       .remove = __devexit_p(max1586_pmic_remove),
+       .remove = max1586_pmic_remove,
        .driver         = {
                .name   = "max1586",
                .owner  = THIS_MODULE,