aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-mosart.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-mosart.c')
-rw-r--r--drivers/hid/hid-mosart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-mosart.c b/drivers/hid/hid-mosart.c
index ac5421d568f1..0668685380d5 100644
--- a/drivers/hid/hid-mosart.c
+++ b/drivers/hid/hid-mosart.c
@@ -199,7 +199,7 @@ static int mosart_probe(struct hid_device *hdev, const struct hid_device_id *id)
199 199
200 td = kmalloc(sizeof(struct mosart_data), GFP_KERNEL); 200 td = kmalloc(sizeof(struct mosart_data), GFP_KERNEL);
201 if (!td) { 201 if (!td) {
202 dev_err(&hdev->dev, "cannot allocate MosArt data\n"); 202 hid_err(hdev, "cannot allocate MosArt data\n");
203 return -ENOMEM; 203 return -ENOMEM;
204 } 204 }
205 td->valid = false; 205 td->valid = false;