diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-08 22:20:00 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:07:58 -0400 |
commit | 271ddbf702c3a4e6b18f6464180eda0f62efd9a5 (patch) | |
tree | 37a384a4ce6216c694ee0d86ffc89d4aa56944e1 /drivers/media/dvb/frontends/tda10021.c | |
parent | 708bebdd3922c6f346b8540f93c73f006d2b947b (diff) |
V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/tda10021.c')
-rw-r--r-- | drivers/media/dvb/frontends/tda10021.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/tda10021.c b/drivers/media/dvb/frontends/tda10021.c index 45137d2ebfb9..f648fdb64bb7 100644 --- a/drivers/media/dvb/frontends/tda10021.c +++ b/drivers/media/dvb/frontends/tda10021.c | |||
@@ -79,7 +79,7 @@ static int _tda10021_writereg (struct tda10021_state* state, u8 reg, u8 data) | |||
79 | if (ret != 1) | 79 | if (ret != 1) |
80 | printk("DVB: TDA10021(%d): %s, writereg error " | 80 | printk("DVB: TDA10021(%d): %s, writereg error " |
81 | "(reg == 0x%02x, val == 0x%02x, ret == %i)\n", | 81 | "(reg == 0x%02x, val == 0x%02x, ret == %i)\n", |
82 | state->frontend.dvb->num, __FUNCTION__, reg, data, ret); | 82 | state->frontend.dvb->num, __func__, reg, data, ret); |
83 | 83 | ||
84 | msleep(10); | 84 | msleep(10); |
85 | return (ret != 1) ? -EREMOTEIO : 0; | 85 | return (ret != 1) ? -EREMOTEIO : 0; |
@@ -97,7 +97,7 @@ static u8 tda10021_readreg (struct tda10021_state* state, u8 reg) | |||
97 | // Don't print an error message if the id is read. | 97 | // Don't print an error message if the id is read. |
98 | if (ret != 2 && reg != 0x1a) | 98 | if (ret != 2 && reg != 0x1a) |
99 | printk("DVB: TDA10021: %s: readreg error (ret == %i)\n", | 99 | printk("DVB: TDA10021: %s: readreg error (ret == %i)\n", |
100 | __FUNCTION__, ret); | 100 | __func__, ret); |
101 | return b1[0]; | 101 | return b1[0]; |
102 | } | 102 | } |
103 | 103 | ||