Re: [PATCH] usb: class: Use USB_CLASS_PRINTER instead of number 7

2015-06-19 Thread Pete Zaitcev
On Fri, 19 Jun 2015 11:37:08 +0200 Krzysztof Opasiak wrote: > Kernel provides very nice defines for USB device class > so it's a good idea to use them in suitable places. > It is much easier to grep for such define instead of 7. > static const struct usb_device_id usblp_ids[] = { > - { USB_

[PATCH] usb: class: Use USB_CLASS_PRINTER instead of number 7

2015-06-19 Thread Krzysztof Opasiak
Kernel provides very nice defines for USB device class so it's a good idea to use them in suitable places. It is much easier to grep for such define instead of 7. Signed-off-by: Krzysztof Opasiak --- drivers/usb/class/usblp.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-)