mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
drivers: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <[email protected]> Cc: Ben Dooks <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
bdf4bbaaee
commit
145980a0b0
9 changed files with 18 additions and 18 deletions
|
|
@ -637,7 +637,7 @@ static int wd_inittimer(int whichdog)
|
|||
break;
|
||||
default:
|
||||
printk("%s: %s: invalid watchdog id: %i\n",
|
||||
WD_OBPNAME, __FUNCTION__, whichdog);
|
||||
WD_OBPNAME, __func__, whichdog);
|
||||
return(1);
|
||||
}
|
||||
if(0 != misc_register(whichmisc))
|
||||
|
|
|
|||
|
|
@ -393,13 +393,13 @@ static int __init ts102_uctrl_init(void)
|
|||
err = request_irq(driver->irq, uctrl_interrupt, 0, "uctrl", driver);
|
||||
if (err) {
|
||||
printk("%s: unable to register irq %d\n",
|
||||
__FUNCTION__, driver->irq);
|
||||
__func__, driver->irq);
|
||||
return err;
|
||||
}
|
||||
|
||||
if (misc_register(&uctrl_dev)) {
|
||||
printk("%s: unable to get misc minor %d\n",
|
||||
__FUNCTION__, uctrl_dev.minor);
|
||||
__func__, uctrl_dev.minor);
|
||||
free_irq(driver->irq, driver);
|
||||
return -ENODEV;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue