summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-quanta.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-quanta.c')
-rw-r--r--drivers/hid/hid-quanta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-quanta.c b/drivers/hid/hid-quanta.c
index 54d3db5..87a54df 100644
--- a/drivers/hid/hid-quanta.c
+++ b/drivers/hid/hid-quanta.c
@@ -195,7 +195,7 @@ static int quanta_probe(struct hid_device *hdev, const struct hid_device_id *id)
td = kmalloc(sizeof(struct quanta_data), GFP_KERNEL);
if (!td) {
- dev_err(&hdev->dev, "cannot allocate Quanta Touch data\n");
+ hid_err(hdev, "cannot allocate Quanta Touch data\n");
return -ENOMEM;
}
td->valid = false;
OpenPOWER on IntegriCloud