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
@@ -140,7 +140,7 @@ static int max6902_get_datetime(struct device *dev, struct rtc_time *dt)
|
||||
dt->tm_year -= 1900;
|
||||
|
||||
#ifdef MAX6902_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);
|
||||
@@ -158,7 +158,7 @@ static int max6902_set_datetime(struct device *dev, struct rtc_time *dt)
|
||||
dt->tm_year = dt->tm_year+1900;
|
||||
|
||||
#ifdef MAX6902_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