diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-28 11:32:55 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-23 16:33:23 -0700 |
commit | 523e531ea694eadf2957ee207bb4e0681e837057 (patch) | |
tree | c68bc19a610801896fdd928cf9e1ed15570fba0d /drivers/usb/phy/phy-fsm-usb.h | |
parent | 2c21c985f1bc9f9b19ce258f38bb400ced3c7309 (diff) | |
download | op-kernel-dev-523e531ea694eadf2957ee207bb4e0681e837057.zip op-kernel-dev-523e531ea694eadf2957ee207bb4e0681e837057.tar.gz |
USB: phy: remove custom DBG macro
Use the in-kernel pr_debug() calls instead of trying to roll your own
DBG macro. This means the dynamic debugging calls now work here, and
there is no dependency on CONFIG_USB_DEBUG for the phy code anymore.
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/phy/phy-fsm-usb.h')
-rw-r--r-- | drivers/usb/phy/phy-fsm-usb.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/drivers/usb/phy/phy-fsm-usb.h b/drivers/usb/phy/phy-fsm-usb.h index c30a2e1..fbe5862 100644 --- a/drivers/usb/phy/phy-fsm-usb.h +++ b/drivers/usb/phy/phy-fsm-usb.h @@ -15,18 +15,11 @@ * 675 Mass Ave, Cambridge, MA 02139, USA. */ -#undef DEBUG #undef VERBOSE -#ifdef DEBUG -#define DBG(fmt, args...) printk(KERN_DEBUG "[%s] " fmt , \ - __func__, ## args) -#else -#define DBG(fmt, args...) do {} while (0) -#endif - #ifdef VERBOSE -#define VDBG DBG +#define VDBG(fmt, args...) pr_debug("[%s] " fmt , \ + __func__, ## args) #else #define VDBG(stuff...) do {} while (0) #endif |