usb: common: introduce usb_state_string()
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 20:29:48 +0000 (22:29 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:17:11 +0000 (11:17 +0200)
commitd1e3d757f7aa91f15db347fc05ffd7ef7f413091
tree1cace41a22eb5fc4d5c4e1fbc71442bb5234988e
parentb15a762f02acb4f1e695a17435f719350f9d5bc1
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: Felipe Balbi <balbi@ti.com>
drivers/usb/usb-common.c
include/linux/usb/ch9.h
This page took 0.02665 seconds and 5 git commands to generate.