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/phidgetkit.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/phidgetkit.c')
-rw-r--r-- | drivers/usb/misc/phidgetkit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/misc/phidgetkit.c b/drivers/usb/misc/phidgetkit.c index aa9bcceabe74..24230c638b8e 100644 --- a/drivers/usb/misc/phidgetkit.c +++ b/drivers/usb/misc/phidgetkit.c | |||
@@ -113,7 +113,7 @@ static int set_outputs(struct interfacekit *kit) | |||
113 | 113 | ||
114 | buffer = kzalloc(4, GFP_KERNEL); | 114 | buffer = kzalloc(4, GFP_KERNEL); |
115 | if (!buffer) { | 115 | if (!buffer) { |
116 | dev_err(&kit->udev->dev, "%s - out of memory\n", __FUNCTION__); | 116 | dev_err(&kit->udev->dev, "%s - out of memory\n", __func__); |
117 | return -ENOMEM; | 117 | return -ENOMEM; |
118 | } | 118 | } |
119 | buffer[0] = (u8)kit->outputs; | 119 | buffer[0] = (u8)kit->outputs; |
@@ -146,7 +146,7 @@ static int change_string(struct interfacekit *kit, const char *display, unsigned | |||
146 | buffer = kmalloc(8, GFP_KERNEL); | 146 | buffer = kmalloc(8, GFP_KERNEL); |
147 | form_buffer = kmalloc(30, GFP_KERNEL); | 147 | form_buffer = kmalloc(30, GFP_KERNEL); |
148 | if ((!buffer) || (!form_buffer)) { | 148 | if ((!buffer) || (!form_buffer)) { |
149 | dev_err(&kit->udev->dev, "%s - out of memory\n", __FUNCTION__); | 149 | dev_err(&kit->udev->dev, "%s - out of memory\n", __func__); |
150 | goto exit; | 150 | goto exit; |
151 | } | 151 | } |
152 | 152 | ||
@@ -216,7 +216,7 @@ static ssize_t set_backlight(struct device *dev, struct device_attribute *attr, | |||
216 | 216 | ||
217 | buffer = kzalloc(8, GFP_KERNEL); | 217 | buffer = kzalloc(8, GFP_KERNEL); |
218 | if (!buffer) { | 218 | if (!buffer) { |
219 | dev_err(&kit->udev->dev, "%s - out of memory\n", __FUNCTION__); | 219 | dev_err(&kit->udev->dev, "%s - out of memory\n", __func__); |
220 | goto exit; | 220 | goto exit; |
221 | } | 221 | } |
222 | 222 | ||