diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-07-30 20:20:18 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-30 20:20:18 -0400 |
commit | a97a6f10771b90235b33c13a6db9279237a08422 (patch) | |
tree | 60f73c13805d3e9968ac734960505ab081173945 /drivers/net/irda/toim3232-sir.c | |
parent | 1fa98174ba980b2826edd1e4632a17916dfdb4fa (diff) |
irda: replace __FUNCTION__ with __func__
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/irda/toim3232-sir.c')
-rw-r--r-- | drivers/net/irda/toim3232-sir.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/irda/toim3232-sir.c b/drivers/net/irda/toim3232-sir.c index aa1a9b0ed83e..fcf287b749db 100644 --- a/drivers/net/irda/toim3232-sir.c +++ b/drivers/net/irda/toim3232-sir.c | |||
@@ -181,7 +181,7 @@ static int toim3232_open(struct sir_dev *dev) | |||
181 | { | 181 | { |
182 | struct qos_info *qos = &dev->qos; | 182 | struct qos_info *qos = &dev->qos; |
183 | 183 | ||
184 | IRDA_DEBUG(2, "%s()\n", __FUNCTION__); | 184 | IRDA_DEBUG(2, "%s()\n", __func__); |
185 | 185 | ||
186 | /* Pull the lines high to start with. | 186 | /* Pull the lines high to start with. |
187 | * | 187 | * |
@@ -209,7 +209,7 @@ static int toim3232_open(struct sir_dev *dev) | |||
209 | 209 | ||
210 | static int toim3232_close(struct sir_dev *dev) | 210 | static int toim3232_close(struct sir_dev *dev) |
211 | { | 211 | { |
212 | IRDA_DEBUG(2, "%s()\n", __FUNCTION__); | 212 | IRDA_DEBUG(2, "%s()\n", __func__); |
213 | 213 | ||
214 | /* Power off dongle */ | 214 | /* Power off dongle */ |
215 | sirdev_set_dtr_rts(dev, FALSE, FALSE); | 215 | sirdev_set_dtr_rts(dev, FALSE, FALSE); |
@@ -241,7 +241,7 @@ static int toim3232_change_speed(struct sir_dev *dev, unsigned speed) | |||
241 | u8 byte; | 241 | u8 byte; |
242 | static int ret = 0; | 242 | static int ret = 0; |
243 | 243 | ||
244 | IRDA_DEBUG(2, "%s()\n", __FUNCTION__); | 244 | IRDA_DEBUG(2, "%s()\n", __func__); |
245 | 245 | ||
246 | switch(state) { | 246 | switch(state) { |
247 | case SIRDEV_STATE_DONGLE_SPEED: | 247 | case SIRDEV_STATE_DONGLE_SPEED: |
@@ -299,7 +299,7 @@ static int toim3232_change_speed(struct sir_dev *dev, unsigned speed) | |||
299 | break; | 299 | break; |
300 | 300 | ||
301 | default: | 301 | default: |
302 | printk(KERN_ERR "%s - undefined state %d\n", __FUNCTION__, state); | 302 | printk(KERN_ERR "%s - undefined state %d\n", __func__, state); |
303 | ret = -EINVAL; | 303 | ret = -EINVAL; |
304 | break; | 304 | break; |
305 | } | 305 | } |
@@ -344,7 +344,7 @@ static int toim3232_change_speed(struct sir_dev *dev, unsigned speed) | |||
344 | 344 | ||
345 | static int toim3232_reset(struct sir_dev *dev) | 345 | static int toim3232_reset(struct sir_dev *dev) |
346 | { | 346 | { |
347 | IRDA_DEBUG(2, "%s()\n", __FUNCTION__); | 347 | IRDA_DEBUG(2, "%s()\n", __func__); |
348 | 348 | ||
349 | /* Switch off both DTR and RTS to switch off dongle */ | 349 | /* Switch off both DTR and RTS to switch off dongle */ |
350 | sirdev_set_dtr_rts(dev, FALSE, FALSE); | 350 | sirdev_set_dtr_rts(dev, FALSE, FALSE); |