usb: otg: move usb_otg_state_string to usb-common.c

otg.c only had a single function definition
which might make more sense to be placed in
usb-common.c. While doing that, we also delete
otg.c since it's now empty.

Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
Felipe Balbi
2013-03-07 10:45:56 +02:00
parent 42c0bf1ce7
commit 7009bdd7f3
4 changed files with 26 additions and 57 deletions

View File

@@ -36,14 +36,7 @@ struct usb_otg {
};
#ifdef CONFIG_USB_OTG_UTILS
extern const char *usb_otg_state_string(enum usb_otg_state state);
#else
static inline const char *usb_otg_state_string(enum usb_otg_state state)
{
return NULL;
}
#endif
/* Context: can sleep */
static inline int