summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/usb/dwc3.txt
diff options
context:
space:
mode:
authorBin Liu <b-liu@ti.com>2018-05-21 16:42:21 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-22 13:03:25 +0300
commit8dca51071849077e83ec85b7e5d46c84cee227d9 (patch)
tree34946d2a027672ca26131a06f9801927718e941c /Documentation/devicetree/bindings/usb/dwc3.txt
parent49484abd93ab259d5acb1ebf77d3041fe06abbdd (diff)
downloadlinux-8dca51071849077e83ec85b7e5d46c84cee227d9.tar.xz
usb: musb: gadget: fix to_musb_request() to not return NULL
The gadget function drivers should ensure the usb_request parameter passed in is not NULL. UDC core doesn't check if it is NULL, so MUSB driver shouldn't have to check it either. Convert to_musb_request() to a simple macro to not directly return NULL to avoid warnings from code static analysis tools. Signed-off-by: Bin Liu <b-liu@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/usb/dwc3.txt')
0 files changed, 0 insertions, 0 deletions