rtc: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Cc: David Brownell <david-b@pacbell.net> Cc: Alessandro Zummo <a.zummo@towertech.it> 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
dca03a5154
commit
2a4e2b8780
@@ -107,7 +107,7 @@ static int v3020_read_time(struct device *dev, struct rtc_time *dt)
|
||||
dt->tm_year = BCD2BIN(tmp)+100;
|
||||
|
||||
#ifdef DEBUG
|
||||
printk("\n%s : Read RTC values\n",__FUNCTION__);
|
||||
printk("\n%s : Read RTC values\n",__func__);
|
||||
printk("tm_hour: %i\n",dt->tm_hour);
|
||||
printk("tm_min : %i\n",dt->tm_min);
|
||||
printk("tm_sec : %i\n",dt->tm_sec);
|
||||
@@ -126,7 +126,7 @@ static int v3020_set_time(struct device *dev, struct rtc_time *dt)
|
||||
struct v3020 *chip = dev_get_drvdata(dev);
|
||||
|
||||
#ifdef DEBUG
|
||||
printk("\n%s : Setting RTC values\n",__FUNCTION__);
|
||||
printk("\n%s : Setting RTC values\n",__func__);
|
||||
printk("tm_sec : %i\n",dt->tm_sec);
|
||||
printk("tm_min : %i\n",dt->tm_min);
|
||||
printk("tm_hour: %i\n",dt->tm_hour);
|
||||
|
Reference in New Issue
Block a user