aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard/qt1070.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/keyboard/qt1070.c')
-rw-r--r--drivers/input/keyboard/qt1070.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/input/keyboard/qt1070.c b/drivers/input/keyboard/qt1070.c
index ca68f2992d7..42b773b3125 100644
--- a/drivers/input/keyboard/qt1070.c
+++ b/drivers/input/keyboard/qt1070.c
@@ -91,7 +91,7 @@ static int qt1070_write(struct i2c_client *client, u8 reg, u8 data)
91 return ret; 91 return ret;
92} 92}
93 93
94static bool __devinit qt1070_identify(struct i2c_client *client) 94static bool qt1070_identify(struct i2c_client *client)
95{ 95{
96 int id, ver; 96 int id, ver;
97 97
@@ -140,7 +140,7 @@ static irqreturn_t qt1070_interrupt(int irq, void *dev_id)
140 return IRQ_HANDLED; 140 return IRQ_HANDLED;
141} 141}
142 142
143static int __devinit qt1070_probe(struct i2c_client *client, 143static int qt1070_probe(struct i2c_client *client,
144 const struct i2c_device_id *id) 144 const struct i2c_device_id *id)
145{ 145{
146 struct qt1070_data *data; 146 struct qt1070_data *data;
@@ -230,7 +230,7 @@ err_free_mem:
230 return err; 230 return err;
231} 231}
232 232
233static int __devexit qt1070_remove(struct i2c_client *client) 233static int qt1070_remove(struct i2c_client *client)
234{ 234{
235 struct qt1070_data *data = i2c_get_clientdata(client); 235 struct qt1070_data *data = i2c_get_clientdata(client);
236 236
@@ -256,7 +256,7 @@ static struct i2c_driver qt1070_driver = {
256 }, 256 },
257 .id_table = qt1070_id, 257 .id_table = qt1070_id,
258 .probe = qt1070_probe, 258 .probe = qt1070_probe,
259 .remove = __devexit_p(qt1070_remove), 259 .remove = qt1070_remove,
260}; 260};
261 261
262module_i2c_driver(qt1070_driver); 262module_i2c_driver(qt1070_driver);