aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/st1232.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/touchscreen/st1232.c')
-rw-r--r--drivers/input/touchscreen/st1232.c8
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
142static int __devinit st1232_ts_probe(struct i2c_client *client, 142static 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
209static int __devexit st1232_ts_remove(struct i2c_client *client) 209static 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[] = {
255MODULE_DEVICE_TABLE(i2c, st1232_ts_id); 255MODULE_DEVICE_TABLE(i2c, st1232_ts_id);
256 256
257#ifdef CONFIG_OF 257#ifdef CONFIG_OF
258static const struct of_device_id st1232_ts_dt_ids[] __devinitconst = { 258static 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
265static struct i2c_driver st1232_ts_driver = { 265static 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,