staging: comedi: drivers: replace le16_to_cpu() with usb_endpoint_maxp()
authorCheah Kok Cheong <thrust73@gmail.com>
Fri, 22 Jul 2016 15:29:39 +0000 (23:29 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2016 15:02:42 +0000 (17:02 +0200)
commit62190d498c1d1cee970176840f24822fc14d27d1
tree34afc908493ace4368fefe0b06f2357b982ca770
parent49c9d6ad68aed76314fc69d3c07e25079e37bc04
staging: comedi: drivers: replace le16_to_cpu() with usb_endpoint_maxp()

Use macro introduced in commit 939f325f4a0f
("usb: add usb_endpoint_maxp() macro")

Signed-off-by: Cheah Kok Cheong <thrust73@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/dt9812.c
drivers/staging/comedi/drivers/ni_usb6501.c
drivers/staging/comedi/drivers/vmk80xx.c