Skip to content
Commit 3d4c0d4f authored by Felipe Balbi's avatar Felipe Balbi
Browse files

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: default avatarFelipe Balbi <balbi@ti.com>
parent 45b3cd4a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment