diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-10-20 19:00:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-20 19:17:42 -0400 |
commit | 653c03168348ac7aebb969931f87ba281749d7dd (patch) | |
tree | f07c19b477a8980a1cb4d20583d12ef1144a7bdd /drivers/net/usb | |
parent | e8848a170fd432bdda176a2d568919d4bba90467 (diff) |
misc: replace remaining __FUNCTION__ with __func__
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net/usb')
-rw-r--r-- | drivers/net/usb/pegasus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/usb/pegasus.c b/drivers/net/usb/pegasus.c index 38b90e7a7ed3..7914867110ed 100644 --- a/drivers/net/usb/pegasus.c +++ b/drivers/net/usb/pegasus.c | |||
@@ -168,7 +168,7 @@ static int get_registers(pegasus_t * pegasus, __u16 indx, __u16 size, | |||
168 | netif_device_detach(pegasus->net); | 168 | netif_device_detach(pegasus->net); |
169 | if (netif_msg_drv(pegasus) && printk_ratelimit()) | 169 | if (netif_msg_drv(pegasus) && printk_ratelimit()) |
170 | dev_err(&pegasus->intf->dev, "%s, status %d\n", | 170 | dev_err(&pegasus->intf->dev, "%s, status %d\n", |
171 | __FUNCTION__, ret); | 171 | __func__, ret); |
172 | goto out; | 172 | goto out; |
173 | } | 173 | } |
174 | 174 | ||
@@ -192,7 +192,7 @@ static int set_registers(pegasus_t * pegasus, __u16 indx, __u16 size, | |||
192 | if (!buffer) { | 192 | if (!buffer) { |
193 | if (netif_msg_drv(pegasus)) | 193 | if (netif_msg_drv(pegasus)) |
194 | dev_warn(&pegasus->intf->dev, "out of memory in %s\n", | 194 | dev_warn(&pegasus->intf->dev, "out of memory in %s\n", |
195 | __FUNCTION__); | 195 | __func__); |
196 | return -ENOMEM; | 196 | return -ENOMEM; |
197 | } | 197 | } |
198 | memcpy(buffer, data, size); | 198 | memcpy(buffer, data, size); |