]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/hid/hid-holtek-mouse.c
HID: holtek-mouse: use module_hid_driver() to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 29 May 2013 10:09:22 +0000 (18:09 +0800)
committerJiri Kosina <jkosina@suse.cz>
Wed, 29 May 2013 13:04:33 +0000 (15:04 +0200)
commitc99f81887850cb593ea02bd14a68062547db8261
treeccf1718cfddb64756badb5527a6a55a6e8fc3cc5
parent40d3597fc988dbe3bc902c501f88a73391c7da0d
HID: holtek-mouse: use module_hid_driver() to simplify the code

module_hid_driver() makes the code simpler by eliminating
boilerplate code.

Reported-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-holtek-mouse.c