diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-03-17 02:05:44 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-03-17 02:06:34 -0400 |
commit | 4a53383565e340254479ce4d47bc181884ddf6c3 (patch) | |
tree | 6678fa987358a5613905ba321652edc793323590 /drivers/input/touchscreen/pixcir_i2c_ts.c | |
parent | 1b92c1cf6b638e7cbe9fdaac3f6efb8874f5cc02 (diff) |
Input: synaptics_usb - switch to module_usb_driver()
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/touchscreen/pixcir_i2c_ts.c')
-rw-r--r-- | drivers/input/touchscreen/pixcir_i2c_ts.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/input/touchscreen/pixcir_i2c_ts.c b/drivers/input/touchscreen/pixcir_i2c_ts.c index d5ac09a1ee56..72f6ba3a4709 100644 --- a/drivers/input/touchscreen/pixcir_i2c_ts.c +++ b/drivers/input/touchscreen/pixcir_i2c_ts.c | |||
@@ -222,17 +222,7 @@ static struct i2c_driver pixcir_i2c_ts_driver = { | |||
222 | .id_table = pixcir_i2c_ts_id, | 222 | .id_table = pixcir_i2c_ts_id, |
223 | }; | 223 | }; |
224 | 224 | ||
225 | static int __init pixcir_i2c_ts_init(void) | 225 | module_i2c_driver(pixcir_i2c_ts_driver); |
226 | { | ||
227 | return i2c_add_driver(&pixcir_i2c_ts_driver); | ||
228 | } | ||
229 | module_init(pixcir_i2c_ts_init); | ||
230 | |||
231 | static void __exit pixcir_i2c_ts_exit(void) | ||
232 | { | ||
233 | i2c_del_driver(&pixcir_i2c_ts_driver); | ||
234 | } | ||
235 | module_exit(pixcir_i2c_ts_exit); | ||
236 | 226 | ||
237 | MODULE_AUTHOR("Jianchun Bian <jcbian@pixcir.com.cn>, Dequan Meng <dqmeng@pixcir.com.cn>"); | 227 | MODULE_AUTHOR("Jianchun Bian <jcbian@pixcir.com.cn>, Dequan Meng <dqmeng@pixcir.com.cn>"); |
238 | MODULE_DESCRIPTION("Pixcir I2C Touchscreen Driver"); | 228 | MODULE_DESCRIPTION("Pixcir I2C Touchscreen Driver"); |