Linux 3.10.75
[firefly-linux-kernel-4.4.55.git] / drivers / gpio / gpio-adp5588.c
index eeedad42913e3074703082ac434588036f9954ea..2ba56987db04dded1c231d38315f124260e0e432 100644 (file)
@@ -346,7 +346,7 @@ static void adp5588_irq_teardown(struct adp5588_gpio *dev)
 }
 #endif /* CONFIG_GPIO_ADP5588_IRQ */
 
-static int __devinit adp5588_gpio_probe(struct i2c_client *client,
+static int adp5588_gpio_probe(struct i2c_client *client,
                                        const struct i2c_device_id *id)
 {
        struct adp5588_gpio_platform_data *pdata = client->dev.platform_data;
@@ -438,7 +438,7 @@ err:
        return ret;
 }
 
-static int __devexit adp5588_gpio_remove(struct i2c_client *client)
+static int adp5588_gpio_remove(struct i2c_client *client)
 {
        struct adp5588_gpio_platform_data *pdata = client->dev.platform_data;
        struct adp5588_gpio *dev = i2c_get_clientdata(client);
@@ -479,7 +479,7 @@ static struct i2c_driver adp5588_gpio_driver = {
                   .name = DRV_NAME,
                   },
        .probe = adp5588_gpio_probe,
-       .remove = __devexit_p(adp5588_gpio_remove),
+       .remove = adp5588_gpio_remove,
        .id_table = adp5588_gpio_id,
 };