diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-29 03:58:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 11:05:58 -0400 |
commit | 0cddc0a906ee3e47ce3e09107d385ff89f87cd6d (patch) | |
tree | d60eb3e068a5aa2f7d7b0a465a3e671ba91d7e7e /drivers/power/ds2760_battery.c | |
parent | 551883ae8c9c31460e796e7b1b8aa9069de268b4 (diff) |
power: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Greg KH <greg@kroah.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/power/ds2760_battery.c')
-rw-r--r-- | drivers/power/ds2760_battery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/ds2760_battery.c b/drivers/power/ds2760_battery.c index bdb9b7285b3d..71be36f18709 100644 --- a/drivers/power/ds2760_battery.c +++ b/drivers/power/ds2760_battery.c | |||
@@ -262,7 +262,7 @@ static void ds2760_battery_work(struct work_struct *work) | |||
262 | struct ds2760_device_info, monitor_work.work); | 262 | struct ds2760_device_info, monitor_work.work); |
263 | const int interval = HZ * 60; | 263 | const int interval = HZ * 60; |
264 | 264 | ||
265 | dev_dbg(di->dev, "%s\n", __FUNCTION__); | 265 | dev_dbg(di->dev, "%s\n", __func__); |
266 | 266 | ||
267 | ds2760_battery_update_status(di); | 267 | ds2760_battery_update_status(di); |
268 | queue_delayed_work(di->monitor_wqueue, &di->monitor_work, interval); | 268 | queue_delayed_work(di->monitor_wqueue, &di->monitor_work, interval); |
@@ -275,7 +275,7 @@ static void ds2760_battery_external_power_changed(struct power_supply *psy) | |||
275 | { | 275 | { |
276 | struct ds2760_device_info *di = to_ds2760_device_info(psy); | 276 | struct ds2760_device_info *di = to_ds2760_device_info(psy); |
277 | 277 | ||
278 | dev_dbg(di->dev, "%s\n", __FUNCTION__); | 278 | dev_dbg(di->dev, "%s\n", __func__); |
279 | 279 | ||
280 | cancel_delayed_work(&di->monitor_work); | 280 | cancel_delayed_work(&di->monitor_work); |
281 | queue_delayed_work(di->monitor_wqueue, &di->monitor_work, HZ/10); | 281 | queue_delayed_work(di->monitor_wqueue, &di->monitor_work, HZ/10); |