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/auo-pixcir-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/auo-pixcir-ts.c')
-rw-r--r-- | drivers/input/touchscreen/auo-pixcir-ts.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/input/touchscreen/auo-pixcir-ts.c b/drivers/input/touchscreen/auo-pixcir-ts.c index 94fb9fbb08a9..c7047b6bb020 100644 --- a/drivers/input/touchscreen/auo-pixcir-ts.c +++ b/drivers/input/touchscreen/auo-pixcir-ts.c | |||
@@ -635,17 +635,7 @@ static struct i2c_driver auo_pixcir_driver = { | |||
635 | .id_table = auo_pixcir_idtable, | 635 | .id_table = auo_pixcir_idtable, |
636 | }; | 636 | }; |
637 | 637 | ||
638 | static int __init auo_pixcir_init(void) | 638 | module_i2c_driver(auo_pixcir_driver); |
639 | { | ||
640 | return i2c_add_driver(&auo_pixcir_driver); | ||
641 | } | ||
642 | module_init(auo_pixcir_init); | ||
643 | |||
644 | static void __exit auo_pixcir_exit(void) | ||
645 | { | ||
646 | i2c_del_driver(&auo_pixcir_driver); | ||
647 | } | ||
648 | module_exit(auo_pixcir_exit); | ||
649 | 639 | ||
650 | MODULE_DESCRIPTION("AUO-PIXCIR touchscreen driver"); | 640 | MODULE_DESCRIPTION("AUO-PIXCIR touchscreen driver"); |
651 | MODULE_LICENSE("GPL v2"); | 641 | MODULE_LICENSE("GPL v2"); |