[PATCH 23/23] USB: MUSB: checkpatch.pl fixes to musb_debug.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Misc cleanup patch.

Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxx>
---
 drivers/usb/musb/musb_debug.h |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/usb/musb/musb_debug.h b/drivers/usb/musb/musb_debug.h
index a9a0055..0743972 100644
--- a/drivers/usb/musb/musb_debug.h
+++ b/drivers/usb/musb/musb_debug.h
@@ -37,15 +37,15 @@
 
 #define yprintk(facility, format, args...) \
 	do { printk(facility "%s %d: " format , \
-	__FUNCTION__, __LINE__ , ## args); } while (0)
-#define WARN(fmt, args...) yprintk(KERN_WARNING,fmt, ## args)
-#define INFO(fmt,args...) yprintk(KERN_INFO,fmt, ## args)
-#define ERR(fmt,args...) yprintk(KERN_ERR,fmt, ## args)
+	__func__, __LINE__ , ## args); } while (0)
+#define WARN(fmt, args...) yprintk(KERN_WARNING, fmt, ## args)
+#define INFO(fmt, args...) yprintk(KERN_INFO, fmt, ## args)
+#define ERR(fmt, args...) yprintk(KERN_ERR, fmt, ## args)
 
 #define xprintk(level, facility, format, args...) do { \
-	if ( _dbg_level(level) ) { \
+	if (_dbg_level(level)) { \
 		printk(facility "%s %d: " format , \
-				__FUNCTION__, __LINE__ , ## args); \
+				__func__, __LINE__ , ## args); \
 	} } while (0)
 
 #if MUSB_DEBUG > 0
@@ -59,7 +59,7 @@ static inline int _dbg_level(unsigned l)
 	return debug >= l;
 }
 
-#define DBG(level,fmt,args...) xprintk(level,KERN_DEBUG,fmt, ## args)
+#define DBG(level, fmt, args...) xprintk(level, KERN_DEBUG, fmt, ## args)
 
 extern const char *otg_state_string(struct musb *);
 
-- 
1.5.5.23.g2a5fe

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux