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:
@@ -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
|
||||
|
Reference in New Issue
Block a user