summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/tda10021.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-04-08 19:20:00 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2008-04-08 19:20:00 -0400
commit404143cab4c9a32af73db3de0751e586988e435a (patch)
treeded882811457a33368f0e18d0f5866594340d95e /linux/drivers/media/dvb/frontends/tda10021.c
parent621552763701b6f26fb764e243c7338126c8a5c2 (diff)
downloadmediapointer-dvb-s2-404143cab4c9a32af73db3de0751e586988e435a.tar.gz
mediapointer-dvb-s2-404143cab4c9a32af73db3de0751e586988e435a.tar.bz2
media/dvb/frontends replace remaining __FUNCTION__ occurrences
From: Harvey Harrison <harvey.harrison@gmail.com> __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>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/tda10021.c')
-rw-r--r--linux/drivers/media/dvb/frontends/tda10021.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda10021.c b/linux/drivers/media/dvb/frontends/tda10021.c
index 68a1103c9..c6f90f33a 100644
--- a/linux/drivers/media/dvb/frontends/tda10021.c
+++ b/linux/drivers/media/dvb/frontends/tda10021.c
@@ -79,7 +79,7 @@ static int _tda10021_writereg (struct tda10021_state* state, u8 reg, u8 data)
if (ret != 1)
printk("DVB: TDA10021(%d): %s, writereg error "
"(reg == 0x%02x, val == 0x%02x, ret == %i)\n",
- state->frontend.dvb->num, __FUNCTION__, reg, data, ret);
+ state->frontend.dvb->num, __func__, reg, data, ret);
msleep(10);
return (ret != 1) ? -EREMOTEIO : 0;
@@ -97,7 +97,7 @@ static u8 tda10021_readreg (struct tda10021_state* state, u8 reg)
// Don't print an error message if the id is read.
if (ret != 2 && reg != 0x1a)
printk("DVB: TDA10021: %s: readreg error (ret == %i)\n",
- __FUNCTION__, ret);
+ __func__, ret);
return b1[0];
}