Files
linux/drivers
Sergei Shtylyov d613746d8b USB: musb: make DBG() calls actually depend on CONFIG_USB_MUSB_DEBUG
Enabling CONFIG_USB_MUSB_DEBUG option causes -DDEBUG to be added to gcc's
command line, however the DBG() macro doesn't depend on DEBUG, so that the
debugging messages get printed regardless of the option, and I don't think
that this was intended. Get rid of otherwise unused xprintk() macro and make
DBG() macro directly call pr_debug() which only results in the actual code
generated if DEBUG is defined.

This change makes musb_hdrc.o ~30% less in size with CONFIG_USB_MUSB_DEBUG
disabled (in host mode).

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-22 10:21:52 -07:00
..
2010-10-08 22:37:46 -04:00
…
2010-09-28 23:30:38 -04:00
…
2010-10-13 15:43:10 -07:00
…
2010-10-08 22:16:27 -04:00
2010-10-08 10:21:22 -07:00
2010-09-19 22:43:42 -04:00
2010-08-24 15:28:28 +10:00
…
2010-10-07 12:02:50 +11:00
…
2010-09-26 15:54:25 +02:00
…
…
…
…
2010-09-16 11:48:48 -04:00
…
…
…
…
…
…
2010-09-22 16:21:33 +02:00
…
…