drivers/char: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
8e24eea728
commit
bf9d892952
@@ -506,7 +506,7 @@ static struct sonypi_device {
|
||||
while (--n && (command)) \
|
||||
udelay(1); \
|
||||
if (!n && (verbose || !quiet)) \
|
||||
printk(KERN_WARNING "sonypi command failed at %s : %s (line %d)\n", __FILE__, __FUNCTION__, __LINE__); \
|
||||
printk(KERN_WARNING "sonypi command failed at %s : %s (line %d)\n", __FILE__, __func__, __LINE__); \
|
||||
}
|
||||
|
||||
#ifdef CONFIG_ACPI
|
||||
|
Reference in New Issue
Block a user