summaryrefslogtreecommitdiff
path: root/drivers/usb/class/usblp.c
diff options
context:
space:
mode:
authorSergey Senozhatsky <sergey.senozhatsky.work@gmail.com>2019-03-14 17:34:33 +0900
committerFelipe Balbi <felipe.balbi@linux.intel.com>2019-05-03 09:13:48 +0300
commit0c91ca478909d1d755b852970519126107478bfb (patch)
tree79820b644d17ef636247e7e523b69cde5cb26813 /drivers/usb/class/usblp.c
parent54f37f56631747075f1f9a2f0edf6ba405e3e66c (diff)
downloadlinux-0c91ca478909d1d755b852970519126107478bfb.tar.gz
usb: gadget: do not use __constant_cpu_to_le16
A trivial patch. cpu_to_le16() is capable enough to detect __builtin_constant_p() and to use an appropriate compile time ___constant_swahbXX() function. So we can use cpu_to_le16() instead of __constant_cpu_to_le16(). Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/class/usblp.c')
0 files changed, 0 insertions, 0 deletions