diff options
Diffstat (limited to 'drivers/input/touchscreen/st1232.c')
-rw-r--r-- | drivers/input/touchscreen/st1232.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/input/touchscreen/st1232.c b/drivers/input/touchscreen/st1232.c index 6cb68a1981bf..d9d05e222428 100644 --- a/drivers/input/touchscreen/st1232.c +++ b/drivers/input/touchscreen/st1232.c | |||
@@ -139,7 +139,7 @@ end: | |||
139 | return IRQ_HANDLED; | 139 | return IRQ_HANDLED; |
140 | } | 140 | } |
141 | 141 | ||
142 | static int __devinit st1232_ts_probe(struct i2c_client *client, | 142 | static int st1232_ts_probe(struct i2c_client *client, |
143 | const struct i2c_device_id *id) | 143 | const struct i2c_device_id *id) |
144 | { | 144 | { |
145 | struct st1232_ts_data *ts; | 145 | struct st1232_ts_data *ts; |
@@ -206,7 +206,7 @@ err_free_mem: | |||
206 | return error; | 206 | return error; |
207 | } | 207 | } |
208 | 208 | ||
209 | static int __devexit st1232_ts_remove(struct i2c_client *client) | 209 | static int st1232_ts_remove(struct i2c_client *client) |
210 | { | 210 | { |
211 | struct st1232_ts_data *ts = i2c_get_clientdata(client); | 211 | struct st1232_ts_data *ts = i2c_get_clientdata(client); |
212 | 212 | ||
@@ -255,7 +255,7 @@ static const struct i2c_device_id st1232_ts_id[] = { | |||
255 | MODULE_DEVICE_TABLE(i2c, st1232_ts_id); | 255 | MODULE_DEVICE_TABLE(i2c, st1232_ts_id); |
256 | 256 | ||
257 | #ifdef CONFIG_OF | 257 | #ifdef CONFIG_OF |
258 | static const struct of_device_id st1232_ts_dt_ids[] __devinitconst = { | 258 | static const struct of_device_id st1232_ts_dt_ids[] = { |
259 | { .compatible = "sitronix,st1232", }, | 259 | { .compatible = "sitronix,st1232", }, |
260 | { } | 260 | { } |
261 | }; | 261 | }; |
@@ -264,7 +264,7 @@ MODULE_DEVICE_TABLE(of, st1232_ts_dt_ids); | |||
264 | 264 | ||
265 | static struct i2c_driver st1232_ts_driver = { | 265 | static struct i2c_driver st1232_ts_driver = { |
266 | .probe = st1232_ts_probe, | 266 | .probe = st1232_ts_probe, |
267 | .remove = __devexit_p(st1232_ts_remove), | 267 | .remove = st1232_ts_remove, |
268 | .id_table = st1232_ts_id, | 268 | .id_table = st1232_ts_id, |
269 | .driver = { | 269 | .driver = { |
270 | .name = ST1232_TS_NAME, | 270 | .name = ST1232_TS_NAME, |