diff options
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 | ||