Re: [PATCH v2] staging: most: hdm_usb: Driver registration with module_driver macro

2017-08-25 Thread Andrey Shvetsov
On Fri, Aug 25, 2017 at 06:40:18PM +0300, Alex Briskin wrote: > 1. Remove redundant functions. > 2. Remove potentially missleading return code (-EIO). > 3. Add module_driver driver registration macro. s/module_driver/module_usb_driver/ /andy > * Will also remove pr_info messages. > >

Re: [PATCH v2] staging: most: hdm_usb: Driver registration with module_driver macro

2017-08-25 Thread Alex Briskin
OK got it On 08/25/2017 07:19 PM, Andrey Shvetsov wrote: On Fri, Aug 25, 2017 at 06:40:18PM +0300, Alex Briskin wrote: 1. Remove redundant functions. 2. Remove potentially missleading return code (-EIO). 3. Add module_driver driver registration macro. s/module_driver/module_usb_driver/ /andy

[PATCH v2] staging: most: hdm_usb: Driver registration with module_driver macro

2017-08-25 Thread Alex Briskin
1. Remove redundant functions. 2. Remove potentially missleading return code (-EIO). 3. Add module_driver driver registration macro. * Will also remove pr_info messages. Signed-off-by: Alex Briskin --- drivers/staging/most/hdm-usb/hdm_usb.c | 20 +--- 1 file