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/bcm3510.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/bcm3510.c')
-rw-r--r-- | drivers/media/dvb/frontends/bcm3510.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/bcm3510.c b/drivers/media/dvb/frontends/bcm3510.c index a913f49c062b..d268e65e777d 100644 --- a/drivers/media/dvb/frontends/bcm3510.c +++ b/drivers/media/dvb/frontends/bcm3510.c | |||
@@ -91,7 +91,7 @@ static int bcm3510_writebytes (struct bcm3510_state *state, u8 reg, u8 *buf, u8 | |||
91 | if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { | 91 | if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { |
92 | 92 | ||
93 | deb_info("%s: i2c write error (addr %02x, reg %02x, err == %i)\n", | 93 | deb_info("%s: i2c write error (addr %02x, reg %02x, err == %i)\n", |
94 | __FUNCTION__, state->config->demod_address, reg, err); | 94 | __func__, state->config->demod_address, reg, err); |
95 | return -EREMOTEIO; | 95 | return -EREMOTEIO; |
96 | } | 96 | } |
97 | 97 | ||
@@ -110,7 +110,7 @@ static int bcm3510_readbytes (struct bcm3510_state *state, u8 reg, u8 *buf, u8 l | |||
110 | 110 | ||
111 | if ((err = i2c_transfer (state->i2c, msg, 2)) != 2) { | 111 | if ((err = i2c_transfer (state->i2c, msg, 2)) != 2) { |
112 | deb_info("%s: i2c read error (addr %02x, reg %02x, err == %i)\n", | 112 | deb_info("%s: i2c read error (addr %02x, reg %02x, err == %i)\n", |
113 | __FUNCTION__, state->config->demod_address, reg, err); | 113 | __func__, state->config->demod_address, reg, err); |
114 | return -EREMOTEIO; | 114 | return -EREMOTEIO; |
115 | } | 115 | } |
116 | deb_i2c("i2c rd %02x: ",reg); | 116 | deb_i2c("i2c rd %02x: ",reg); |