[PATCH] staging: comedi: drivers: replace le16_to_cpu() with usb_endpoint_maxp()

Ian Abbott abbotti at mev.co.uk
Fri Jul 22 17:40:28 UTC 2016


On 22/07/16 16:29, Cheah Kok Cheong wrote:
> Use macro introduced in commit 939f325f4a0f
> ("usb: add usb_endpoint_maxp() macro")
>
> Signed-off-by: Cheah Kok Cheong <thrust73 at gmail.com>
> ---
>  drivers/staging/comedi/drivers/dt9812.c     |  4 ++--
>  drivers/staging/comedi/drivers/ni_usb6501.c |  4 ++--
>  drivers/staging/comedi/drivers/vmk80xx.c    | 12 ++++++------
>  3 files changed, 10 insertions(+), 10 deletions(-)

Looks good. Thanks!

Reviewed-by: Ian Abbott <abbotti at mev.co.uk>

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti at mev.co.uk> )=-
-=(                          Web: http://www.mev.co.uk/  )=-


More information about the devel mailing list