summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-cando.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-cando.c')
-rw-r--r--drivers/hid/hid-cando.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-cando.c b/drivers/hid/hid-cando.c
index 5925bdcd417..375b50929a5 100644
--- a/drivers/hid/hid-cando.c
+++ b/drivers/hid/hid-cando.c
@@ -207,7 +207,7 @@ static int cando_probe(struct hid_device *hdev, const struct hid_device_id *id)
td = kmalloc(sizeof(struct cando_data), GFP_KERNEL);
if (!td) {
- dev_err(&hdev->dev, "cannot allocate Cando Touch data\n");
+ hid_err(hdev, "cannot allocate Cando Touch data\n");
return -ENOMEM;
}
hid_set_drvdata(hdev, td);