[PATCH -next] HID: holtek-mouse: use module_hid_driver() to simplify the code

2013-05-29 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn module_hid_driver() makes the code simpler by eliminating boilerplate code. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/hid/hid-holtek-mouse.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git

Re: [PATCH -next] HID: holtek-mouse: use module_hid_driver() to simplify the code

2013-05-29 Thread Jiri Kosina
On Wed, 29 May 2013, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn module_hid_driver() makes the code simpler by eliminating boilerplate code. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/hid/hid-holtek-mouse.c | 13 + 1 file