Commit d1e3d757 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: common: introduce usb_state_string()



this function will receive enum usb_device_state
and return a human-readable string from it or,
case an unknown value is passed as argument,
the string "UNKNOWN".

Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent b15a762f
Supports Markdown
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