linux/compat.h: move dev_err, dev_info and dev_dbg from usb driver to compat.h
authorWu, Josh <Josh.wu@atmel.com>
Wed, 3 Jul 2013 03:11:47 +0000 (11:11 +0800)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Thu, 22 Aug 2013 14:50:29 +0000 (16:50 +0200)
commit2f96b06be5838bcb5e2ee7cbeba4fe59edfd29b0
tree11a28f5a7277f636dc08016ecf7dd88724f86768
parentbe3dbef50262e60bcdaf0a6992cec5ed891fecbb
linux/compat.h: move dev_err, dev_info and dev_dbg from usb driver to compat.h

Since kernel code current use many dev_xxx() instead of using printk. To
compatible, move those dev_xxx from usb driver to linux/compat.h. Then all
driver code can use dev_err, dev_info and dev_vdbg.

This patch also removed duplicated macro definitions in usb driver.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
drivers/usb/musb-new/linux-compat.h
include/linux/compat.h