aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-max732x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-max732x.c')
-rw-r--r--drivers/gpio/gpio-max732x.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpio/gpio-max732x.c b/drivers/gpio/gpio-max732x.c
index 9504120812a5..1e0467ce4c37 100644
--- a/drivers/gpio/gpio-max732x.c
+++ b/drivers/gpio/gpio-max732x.c
@@ -526,7 +526,7 @@ static void max732x_irq_teardown(struct max732x_chip *chip)
526} 526}
527#endif 527#endif
528 528
529static int __devinit max732x_setup_gpio(struct max732x_chip *chip, 529static int max732x_setup_gpio(struct max732x_chip *chip,
530 const struct i2c_device_id *id, 530 const struct i2c_device_id *id,
531 unsigned gpio_start) 531 unsigned gpio_start)
532{ 532{
@@ -574,7 +574,7 @@ static int __devinit max732x_setup_gpio(struct max732x_chip *chip,
574 return port; 574 return port;
575} 575}
576 576
577static int __devinit max732x_probe(struct i2c_client *client, 577static int max732x_probe(struct i2c_client *client,
578 const struct i2c_device_id *id) 578 const struct i2c_device_id *id)
579{ 579{
580 struct max732x_platform_data *pdata; 580 struct max732x_platform_data *pdata;
@@ -651,7 +651,7 @@ out_failed:
651 return ret; 651 return ret;
652} 652}
653 653
654static int __devexit max732x_remove(struct i2c_client *client) 654static int max732x_remove(struct i2c_client *client)
655{ 655{
656 struct max732x_platform_data *pdata = client->dev.platform_data; 656 struct max732x_platform_data *pdata = client->dev.platform_data;
657 struct max732x_chip *chip = i2c_get_clientdata(client); 657 struct max732x_chip *chip = i2c_get_clientdata(client);
@@ -690,7 +690,7 @@ static struct i2c_driver max732x_driver = {
690 .owner = THIS_MODULE, 690 .owner = THIS_MODULE,
691 }, 691 },
692 .probe = max732x_probe, 692 .probe = max732x_probe,
693 .remove = __devexit_p(max732x_remove), 693 .remove = max732x_remove,
694 .id_table = max732x_id, 694 .id_table = max732x_id,
695}; 695};
696 696