summaryrefslogtreecommitdiff
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)
td = kmalloc(sizeof(struct mosart_data), GFP_KERNEL);
if (!td) {
- dev_err(&hdev->dev, "cannot allocate MosArt data\n");
+ hid_err(hdev, "cannot allocate MosArt data\n");
return -ENOMEM;
}
td->valid = false;