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 | 536a0b119527c8af8e3a70b18f7640a21039a0a7 (patch) | |
tree | 353c24cddecf8ee31f1653265c6cdc14f390c18b | |
parent | fc9d8ed418619da915ad8a225fa974d813d0ca34 (diff) |
V4L/DVB (7508): media/common/ 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>
-rw-r--r-- | drivers/media/common/saa7146_core.c | 8 | ||||
-rw-r--r-- | drivers/media/common/saa7146_i2c.c | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/drivers/media/common/saa7146_core.c b/drivers/media/common/saa7146_core.c index 7707b8c7394b..89c7660b85d6 100644 --- a/drivers/media/common/saa7146_core.c +++ b/drivers/media/common/saa7146_core.c | |||
@@ -74,7 +74,7 @@ static inline int saa7146_wait_for_debi_done_sleep(struct saa7146_dev *dev, | |||
74 | if (err) { | 74 | if (err) { |
75 | printk(KERN_ERR "%s: %s timed out while waiting for " | 75 | printk(KERN_ERR "%s: %s timed out while waiting for " |
76 | "registers getting programmed\n", | 76 | "registers getting programmed\n", |
77 | dev->name, __FUNCTION__); | 77 | dev->name, __func__); |
78 | return -ETIMEDOUT; | 78 | return -ETIMEDOUT; |
79 | } | 79 | } |
80 | msleep(1); | 80 | msleep(1); |
@@ -89,7 +89,7 @@ static inline int saa7146_wait_for_debi_done_sleep(struct saa7146_dev *dev, | |||
89 | saa7146_read(dev, MC2); | 89 | saa7146_read(dev, MC2); |
90 | if (err) { | 90 | if (err) { |
91 | DEB_S(("%s: %s timed out while waiting for transfer " | 91 | DEB_S(("%s: %s timed out while waiting for transfer " |
92 | "completion\n", dev->name, __FUNCTION__)); | 92 | "completion\n", dev->name, __func__)); |
93 | return -ETIMEDOUT; | 93 | return -ETIMEDOUT; |
94 | } | 94 | } |
95 | msleep(1); | 95 | msleep(1); |
@@ -111,7 +111,7 @@ static inline int saa7146_wait_for_debi_done_busyloop(struct saa7146_dev *dev, | |||
111 | if (!loops--) { | 111 | if (!loops--) { |
112 | printk(KERN_ERR "%s: %s timed out while waiting for " | 112 | printk(KERN_ERR "%s: %s timed out while waiting for " |
113 | "registers getting programmed\n", | 113 | "registers getting programmed\n", |
114 | dev->name, __FUNCTION__); | 114 | dev->name, __func__); |
115 | return -ETIMEDOUT; | 115 | return -ETIMEDOUT; |
116 | } | 116 | } |
117 | udelay(1); | 117 | udelay(1); |
@@ -125,7 +125,7 @@ static inline int saa7146_wait_for_debi_done_busyloop(struct saa7146_dev *dev, | |||
125 | saa7146_read(dev, MC2); | 125 | saa7146_read(dev, MC2); |
126 | if (!loops--) { | 126 | if (!loops--) { |
127 | DEB_S(("%s: %s timed out while waiting for transfer " | 127 | DEB_S(("%s: %s timed out while waiting for transfer " |
128 | "completion\n", dev->name, __FUNCTION__)); | 128 | "completion\n", dev->name, __func__)); |
129 | return -ETIMEDOUT; | 129 | return -ETIMEDOUT; |
130 | } | 130 | } |
131 | udelay(5); | 131 | udelay(5); |
diff --git a/drivers/media/common/saa7146_i2c.c b/drivers/media/common/saa7146_i2c.c index 7e7689afae62..35b01ec40a51 100644 --- a/drivers/media/common/saa7146_i2c.c +++ b/drivers/media/common/saa7146_i2c.c | |||
@@ -203,7 +203,7 @@ static int saa7146_i2c_writeout(struct saa7146_dev *dev, u32* dword, int short_d | |||
203 | return -ERESTARTSYS; | 203 | return -ERESTARTSYS; |
204 | 204 | ||
205 | printk(KERN_WARNING "%s %s [irq]: timed out waiting for end of xfer\n", | 205 | printk(KERN_WARNING "%s %s [irq]: timed out waiting for end of xfer\n", |
206 | dev->name, __FUNCTION__); | 206 | dev->name, __func__); |
207 | return -EIO; | 207 | return -EIO; |
208 | } | 208 | } |
209 | status = saa7146_read(dev, I2C_STATUS); | 209 | status = saa7146_read(dev, I2C_STATUS); |
@@ -221,7 +221,7 @@ static int saa7146_i2c_writeout(struct saa7146_dev *dev, u32* dword, int short_d | |||
221 | } | 221 | } |
222 | if (time_after(jiffies,timeout)) { | 222 | if (time_after(jiffies,timeout)) { |
223 | printk(KERN_WARNING "%s %s: timed out waiting for MC2\n", | 223 | printk(KERN_WARNING "%s %s: timed out waiting for MC2\n", |
224 | dev->name, __FUNCTION__); | 224 | dev->name, __func__); |
225 | return -EIO; | 225 | return -EIO; |
226 | } | 226 | } |
227 | } | 227 | } |
@@ -238,7 +238,7 @@ static int saa7146_i2c_writeout(struct saa7146_dev *dev, u32* dword, int short_d | |||
238 | * (no answer from nonexisistant device...) | 238 | * (no answer from nonexisistant device...) |
239 | */ | 239 | */ |
240 | printk(KERN_WARNING "%s %s [poll]: timed out waiting for end of xfer\n", | 240 | printk(KERN_WARNING "%s %s [poll]: timed out waiting for end of xfer\n", |
241 | dev->name, __FUNCTION__); | 241 | dev->name, __func__); |
242 | return -EIO; | 242 | return -EIO; |
243 | } | 243 | } |
244 | if (++trial < 50 && short_delay) | 244 | if (++trial < 50 && short_delay) |