aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-adp5588.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-adp5588.c')
-rw-r--r--drivers/gpio/gpio-adp5588.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-adp5588.c b/drivers/gpio/gpio-adp5588.c
index eeedad42913e..2ba56987db04 100644
--- a/drivers/gpio/gpio-adp5588.c
+++ b/drivers/gpio/gpio-adp5588.c
@@ -346,7 +346,7 @@ static void adp5588_irq_teardown(struct adp5588_gpio *dev)
346} 346}
347#endif /* CONFIG_GPIO_ADP5588_IRQ */ 347#endif /* CONFIG_GPIO_ADP5588_IRQ */
348 348
349static int __devinit adp5588_gpio_probe(struct i2c_client *client, 349static int adp5588_gpio_probe(struct i2c_client *client,
350 const struct i2c_device_id *id) 350 const struct i2c_device_id *id)
351{ 351{
352 struct adp5588_gpio_platform_data *pdata = client->dev.platform_data; 352 struct adp5588_gpio_platform_data *pdata = client->dev.platform_data;
@@ -438,7 +438,7 @@ err:
438 return ret; 438 return ret;
439} 439}
440 440
441static int __devexit adp5588_gpio_remove(struct i2c_client *client) 441static int adp5588_gpio_remove(struct i2c_client *client)
442{ 442{
443 struct adp5588_gpio_platform_data *pdata = client->dev.platform_data; 443 struct adp5588_gpio_platform_data *pdata = client->dev.platform_data;
444 struct adp5588_gpio *dev = i2c_get_clientdata(client); 444 struct adp5588_gpio *dev = i2c_get_clientdata(client);
@@ -479,7 +479,7 @@ static struct i2c_driver adp5588_gpio_driver = {
479 .name = DRV_NAME, 479 .name = DRV_NAME,
480 }, 480 },
481 .probe = adp5588_gpio_probe, 481 .probe = adp5588_gpio_probe,
482 .remove = __devexit_p(adp5588_gpio_remove), 482 .remove = adp5588_gpio_remove,
483 .id_table = adp5588_gpio_id, 483 .id_table = adp5588_gpio_id,
484}; 484};
485 485