summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/udc/s3c-hsudc.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2015-12-10 13:08:20 -0600
committerFelipe Balbi <balbi@ti.com>2015-12-16 10:07:27 -0600
commit95ca961c758cd9ce789247098b09c39017637e58 (patch)
treeab592e351593daddcfa530ecad149449bfb18668 /drivers/usb/gadget/udc/s3c-hsudc.c
parent855ed04a3758b205e84b269f92d26ab36ed8e2f7 (diff)
downloadlinux-95ca961c758cd9ce789247098b09c39017637e58.tar.bz2
usb: dwc3: gadget: pass a condition to dev_WARN_ONCE()
instead of using: if (condition) { dev_WARN_ONCE(dev, true, "foo"); return -EINVAL; } let's use: if (dev_WARN_ONCE(dev, condition, "foo")) return -EINVAL; Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/udc/s3c-hsudc.c')
0 files changed, 0 insertions, 0 deletions