summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/host.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2012-01-31 12:33:32 +0100
committerFelipe Balbi <balbi@ti.com>2012-02-06 10:48:41 +0100
commit3d4c0d4ffb418800b2d1af111f9e1d5b204ee55c (patch)
treec4249599f33d1c402c0689272e9074a884846c6d /drivers/usb/dwc3/host.c
parentusb: dwc3: omap: convert pdata to of property (diff)
downloadlinux-3d4c0d4ffb418800b2d1af111f9e1d5b204ee55c.tar.xz
linux-3d4c0d4ffb418800b2d1af111f9e1d5b204ee55c.zip
usb: dwc3: debugfs: fix error check
debugfs APIs will return NULL if it fails to create the file/directory we ask it to create. Instead of checking for IS_ERR(ptr) we must check for !ptr. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/host.c')
0 files changed, 0 insertions, 0 deletions