Linux 3.10.75
[firefly-linux-kernel-4.4.55.git] / drivers / gpio / gpio-adp5588.c
index f762269cb624ea19ca7fb04cb28c0c63a0a6a1e0..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);