aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-3m-pct.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-3m-pct.c')
-rw-r--r--drivers/hid/hid-3m-pct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-3m-pct.c b/drivers/hid/hid-3m-pct.c
index 4fb7c7528d16..5243ae2d3730 100644
--- a/drivers/hid/hid-3m-pct.c
+++ b/drivers/hid/hid-3m-pct.c
@@ -246,7 +246,7 @@ static int mmm_probe(struct hid_device *hdev, const struct hid_device_id *id)
246 246
247 md = kzalloc(sizeof(struct mmm_data), GFP_KERNEL); 247 md = kzalloc(sizeof(struct mmm_data), GFP_KERNEL);
248 if (!md) { 248 if (!md) {
249 dev_err(&hdev->dev, "cannot allocate 3M data\n"); 249 hid_err(hdev, "cannot allocate 3M data\n");
250 return -ENOMEM; 250 return -ENOMEM;
251 } 251 }
252 hid_set_drvdata(hdev, md); 252 hid_set_drvdata(hdev, md);