]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: factor out state_string() on otg drivers
authorAnatolij Gustschin <agust@denx.de>
Fri, 15 Apr 2011 14:18:38 +0000 (16:18 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 May 2011 23:39:09 +0000 (16:39 -0700)
commit3dacdf11f1f82b98d301d5e1d42cdaea9a39968a
tree8a7b6d46b91fbc51d6e78ff436fc51e7c63aaced
parent67e7d64bcece93c84fd6e3832e7c6d91e57c06dc
usb: factor out state_string() on otg drivers

Provide common otg_state_string() and use
it in drivers.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/otg/isp1301_omap.c
drivers/usb/otg/langwell_otg.c
drivers/usb/otg/otg.c
include/linux/usb/otg.h