aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/gp2ap002a00f.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/misc/gp2ap002a00f.c')
-rw-r--r--drivers/input/misc/gp2ap002a00f.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/input/misc/gp2ap002a00f.c b/drivers/input/misc/gp2ap002a00f.c
index b6664cfa340..fe30bd0fe4b 100644
--- a/drivers/input/misc/gp2ap002a00f.c
+++ b/drivers/input/misc/gp2ap002a00f.c
@@ -98,7 +98,7 @@ static void gp2a_device_close(struct input_dev *dev)
98 "unable to deactivate, err %d\n", error); 98 "unable to deactivate, err %d\n", error);
99} 99}
100 100
101static int __devinit gp2a_initialize(struct gp2a_data *dt) 101static int gp2a_initialize(struct gp2a_data *dt)
102{ 102{
103 int error; 103 int error;
104 104
@@ -122,7 +122,7 @@ static int __devinit gp2a_initialize(struct gp2a_data *dt)
122 return error; 122 return error;
123} 123}
124 124
125static int __devinit gp2a_probe(struct i2c_client *client, 125static int gp2a_probe(struct i2c_client *client,
126 const struct i2c_device_id *id) 126 const struct i2c_device_id *id)
127{ 127{
128 const struct gp2a_platform_data *pdata = client->dev.platform_data; 128 const struct gp2a_platform_data *pdata = client->dev.platform_data;
@@ -205,7 +205,7 @@ err_hw_shutdown:
205 return error; 205 return error;
206} 206}
207 207
208static int __devexit gp2a_remove(struct i2c_client *client) 208static int gp2a_remove(struct i2c_client *client)
209{ 209{
210 struct gp2a_data *dt = i2c_get_clientdata(client); 210 struct gp2a_data *dt = i2c_get_clientdata(client);
211 const struct gp2a_platform_data *pdata = dt->pdata; 211 const struct gp2a_platform_data *pdata = dt->pdata;
@@ -277,7 +277,7 @@ static struct i2c_driver gp2a_i2c_driver = {
277 .pm = &gp2a_pm, 277 .pm = &gp2a_pm,
278 }, 278 },
279 .probe = gp2a_probe, 279 .probe = gp2a_probe,
280 .remove = __devexit_p(gp2a_remove), 280 .remove = gp2a_remove,
281 .id_table = gp2a_i2c_id, 281 .id_table = gp2a_i2c_id,
282}; 282};
283 283