diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-03-03 19:08:34 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-25 00:16:55 -0400 |
commit | 441b62c1edb986827154768d89bbac0ba779984f (patch) | |
tree | 13724c22d1b190a36f0ddbba38554e6c66bea6af /drivers/usb/misc/phidgetservo.c | |
parent | 14722ef4acedc643f0b78b7165ceff2d300dae4d (diff) |
USB: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/misc/phidgetservo.c')
-rw-r--r-- | drivers/usb/misc/phidgetservo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/misc/phidgetservo.c b/drivers/usb/misc/phidgetservo.c index 0d9de2f73930..7d590c09434a 100644 --- a/drivers/usb/misc/phidgetservo.c +++ b/drivers/usb/misc/phidgetservo.c | |||
@@ -89,7 +89,7 @@ change_position_v30(struct phidget_servo *servo, int servo_no, int degrees, | |||
89 | buffer = kmalloc(6, GFP_KERNEL); | 89 | buffer = kmalloc(6, GFP_KERNEL); |
90 | if (!buffer) { | 90 | if (!buffer) { |
91 | dev_err(&servo->udev->dev, "%s - out of memory\n", | 91 | dev_err(&servo->udev->dev, "%s - out of memory\n", |
92 | __FUNCTION__); | 92 | __func__); |
93 | return -ENOMEM; | 93 | return -ENOMEM; |
94 | } | 94 | } |
95 | 95 | ||
@@ -162,7 +162,7 @@ change_position_v20(struct phidget_servo *servo, int servo_no, int degrees, | |||
162 | buffer = kmalloc(2, GFP_KERNEL); | 162 | buffer = kmalloc(2, GFP_KERNEL); |
163 | if (!buffer) { | 163 | if (!buffer) { |
164 | dev_err(&servo->udev->dev, "%s - out of memory\n", | 164 | dev_err(&servo->udev->dev, "%s - out of memory\n", |
165 | __FUNCTION__); | 165 | __func__); |
166 | return -ENOMEM; | 166 | return -ENOMEM; |
167 | } | 167 | } |
168 | 168 | ||
@@ -259,7 +259,7 @@ servo_probe(struct usb_interface *interface, const struct usb_device_id *id) | |||
259 | 259 | ||
260 | dev = kzalloc(sizeof (struct phidget_servo), GFP_KERNEL); | 260 | dev = kzalloc(sizeof (struct phidget_servo), GFP_KERNEL); |
261 | if (dev == NULL) { | 261 | if (dev == NULL) { |
262 | dev_err(&interface->dev, "%s - out of memory\n", __FUNCTION__); | 262 | dev_err(&interface->dev, "%s - out of memory\n", __func__); |
263 | rc = -ENOMEM; | 263 | rc = -ENOMEM; |
264 | goto out; | 264 | goto out; |
265 | } | 265 | } |