diff options
Diffstat (limited to 'drivers/hid/hid-stantum.c')
-rw-r--r-- | drivers/hid/hid-stantum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-stantum.c b/drivers/hid/hid-stantum.c index 3171be28c3d5..b2be1d11916b 100644 --- a/drivers/hid/hid-stantum.c +++ b/drivers/hid/hid-stantum.c | |||
@@ -222,7 +222,7 @@ static int stantum_probe(struct hid_device *hdev, | |||
222 | 222 | ||
223 | sd = kmalloc(sizeof(struct stantum_data), GFP_KERNEL); | 223 | sd = kmalloc(sizeof(struct stantum_data), GFP_KERNEL); |
224 | if (!sd) { | 224 | if (!sd) { |
225 | dev_err(&hdev->dev, "cannot allocate Stantum data\n"); | 225 | hid_err(hdev, "cannot allocate Stantum data\n"); |
226 | return -ENOMEM; | 226 | return -ENOMEM; |
227 | } | 227 | } |
228 | sd->valid = false; | 228 | sd->valid = false; |