tm6000: Cleaned up code style in tm6000-i2c.c
authorCurtis McEnroe <programble@gmail.com>
Fri, 3 Jun 2011 00:33:32 +0000 (20:33 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2011 21:27:23 +0000 (14:27 -0700)
Replaced __FUNCTION__ with __func__

Signed-off-by: Curtis McEnroe <programble@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/tm6000/tm6000-i2c.c

index 8828c120b5ca5ea09ea7c9041bd68f8624108e1a..5a651ea5f60afbabe5df852d720e0b9750332eec 100644 (file)
@@ -40,7 +40,7 @@ MODULE_PARM_DESC(i2c_debug, "enable debug messages [i2c]");
 
 #define i2c_dprintk(lvl, fmt, args...) if (i2c_debug >= lvl) do { \
                        printk(KERN_DEBUG "%s at %s: " fmt, \
-                       dev->name, __FUNCTION__ , ##args); } while (0)
+                       dev->name, __func__, ##args); } while (0)
 
 static int tm6000_i2c_send_regs(struct tm6000_core *dev, unsigned char addr,
                                __u8 reg, char *buf, int len)