usb: dwc3: debugfs: fix error check
authorFelipe Balbi <balbi@ti.com>
Tue, 31 Jan 2012 11:33:32 +0000 (13:33 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 6 Feb 2012 09:48:41 +0000 (11:48 +0200)
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>

No differences found