]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfca066d3d902bf65faa13f4c8d3ba2ada4e83074
tree4d7d6b9108a7ad982badb0a50eb373aabdcecb7e
parent464a3ee75a7f24b6589dd39136d88c877141b781
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