HID: intel-ish-hid: use module_pci_driver to simplify the code
authorWei Yongjun <weiyongjun1@huawei.com>
Sun, 21 Aug 2016 15:28:36 +0000 (15:28 +0000)
committerJiri Kosina <jkosina@suse.cz>
Mon, 29 Aug 2016 07:36:19 +0000 (09:36 +0200)
commit37becf6e603236a19660e76a3b82f9cc25972e2d
tree4d7d6b9108a7ad982badb0a50eb373aabdcecb7e
parent67c0fe420ea716268b761de72ef0420b7b02bc96
HID: intel-ish-hid: use module_pci_driver to simplify the code

Use the module_pci_driver() macro to make the code simpler
by eliminating module_init and module_exit calls.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/intel-ish-hid/ipc/pci-ish.c