aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-max7300.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-max7300.c')
-rw-r--r--drivers/gpio/gpio-max7300.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-max7300.c b/drivers/gpio/gpio-max7300.c
index a5ca0ab1b372..4b6b9a04e326 100644
--- a/drivers/gpio/gpio-max7300.c
+++ b/drivers/gpio/gpio-max7300.c
@@ -31,7 +31,7 @@ static int max7300_i2c_read(struct device *dev, unsigned int reg)
31 return i2c_smbus_read_byte_data(client, reg); 31 return i2c_smbus_read_byte_data(client, reg);
32} 32}
33 33
34static int __devinit max7300_probe(struct i2c_client *client, 34static int max7300_probe(struct i2c_client *client,
35 const struct i2c_device_id *id) 35 const struct i2c_device_id *id)
36{ 36{
37 struct max7301 *ts; 37 struct max7301 *ts;
@@ -55,7 +55,7 @@ static int __devinit max7300_probe(struct i2c_client *client,
55 return ret; 55 return ret;
56} 56}
57 57
58static int __devexit max7300_remove(struct i2c_client *client) 58static int max7300_remove(struct i2c_client *client)
59{ 59{
60 return __max730x_remove(&client->dev); 60 return __max730x_remove(&client->dev);
61} 61}
@@ -72,7 +72,7 @@ static struct i2c_driver max7300_driver = {
72 .owner = THIS_MODULE, 72 .owner = THIS_MODULE,
73 }, 73 },
74 .probe = max7300_probe, 74 .probe = max7300_probe,
75 .remove = __devexit_p(max7300_remove), 75 .remove = max7300_remove,
76 .id_table = max7300_id, 76 .id_table = max7300_id,
77}; 77};
78 78