Skip to content
Commit 6c2abcdd authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: musb: debugfs: fix error check



debugfs will return NULL on failure, so
we must check for !ptr instead of IS_ERR(ptr).

Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent e9e8c85e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment