]> git.karo-electronics.de Git - linux-beck.git/commit
usb: class: Use USB_CLASS_PRINTER instead of number 7
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Mon, 22 Jun 2015 13:50:22 +0000 (15:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Jul 2015 21:55:21 +0000 (14:55 -0700)
commit298b992fdb7536f0f347935d253ce31479b1fb43
treeba004d1eb9b78fe60703f05ebd669f273e3bdcc4
parent79a02744bc5a2993d6c5b8dd1a790f7ea12f4e0b
usb: class: Use USB_CLASS_PRINTER instead of number 7

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 <k.opasiak@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/usblp.c