drivers: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Cc: Ben Dooks <ben-linux@fluff.org> 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
bdf4bbaaee
commit
145980a0b0
@@ -365,11 +365,11 @@ static int __devinit parport_init_chip(struct parisc_device *dev)
|
||||
if (boot_cpu_data.cpu_type > pcxt && !pdc_add_valid(port+4)) {
|
||||
|
||||
/* Initialize bidirectional-mode (0x10) & data-tranfer-mode #1 (0x20) */
|
||||
printk("%s: initialize bidirectional-mode.\n", __FUNCTION__);
|
||||
printk("%s: initialize bidirectional-mode.\n", __func__);
|
||||
parport_writeb ( (0x10 + 0x20), port + 4);
|
||||
|
||||
} else {
|
||||
printk("%s: enhanced parport-modes not supported.\n", __FUNCTION__);
|
||||
printk("%s: enhanced parport-modes not supported.\n", __func__);
|
||||
}
|
||||
|
||||
p = parport_gsc_probe_port(port, 0, dev->irq,
|
||||
|
@@ -1415,7 +1415,7 @@ static void __devinit winbond_check(int io, int key)
|
||||
{
|
||||
int devid,devrev,oldid,x_devid,x_devrev,x_oldid;
|
||||
|
||||
if (!request_region(io, 3, __FUNCTION__))
|
||||
if (!request_region(io, 3, __func__))
|
||||
return;
|
||||
|
||||
/* First probe without key */
|
||||
@@ -1449,7 +1449,7 @@ static void __devinit winbond_check2(int io,int key)
|
||||
{
|
||||
int devid,devrev,oldid,x_devid,x_devrev,x_oldid;
|
||||
|
||||
if (!request_region(io, 3, __FUNCTION__))
|
||||
if (!request_region(io, 3, __func__))
|
||||
return;
|
||||
|
||||
/* First probe without the key */
|
||||
@@ -1482,7 +1482,7 @@ static void __devinit smsc_check(int io, int key)
|
||||
{
|
||||
int id,rev,oldid,oldrev,x_id,x_rev,x_oldid,x_oldrev;
|
||||
|
||||
if (!request_region(io, 3, __FUNCTION__))
|
||||
if (!request_region(io, 3, __func__))
|
||||
return;
|
||||
|
||||
/* First probe without the key */
|
||||
@@ -1547,7 +1547,7 @@ static void __devinit detect_and_report_it87(void)
|
||||
u8 r;
|
||||
if (verbose_probing)
|
||||
printk(KERN_DEBUG "IT8705 Super-IO detection, now testing port 2E ...\n");
|
||||
if (!request_region(0x2e, 1, __FUNCTION__))
|
||||
if (!request_region(0x2e, 1, __func__))
|
||||
return;
|
||||
outb(0x87, 0x2e);
|
||||
outb(0x01, 0x2e);
|
||||
|
Reference in New Issue
Block a user