aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-egalax.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-egalax.c')
-rw-r--r--drivers/hid/hid-egalax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-egalax.c b/drivers/hid/hid-egalax.c
index 54b017ad258d..bbab6cff3518 100644
--- a/drivers/hid/hid-egalax.c
+++ b/drivers/hid/hid-egalax.c
@@ -223,7 +223,7 @@ static int egalax_probe(struct hid_device *hdev, const struct hid_device_id *id)
223 223
224 td = kmalloc(sizeof(struct egalax_data), GFP_KERNEL); 224 td = kmalloc(sizeof(struct egalax_data), GFP_KERNEL);
225 if (!td) { 225 if (!td) {
226 dev_err(&hdev->dev, "cannot allocate eGalax data\n"); 226 hid_err(hdev, "cannot allocate eGalax data\n");
227 return -ENOMEM; 227 return -ENOMEM;
228 } 228 }
229 hid_set_drvdata(hdev, td); 229 hid_set_drvdata(hdev, td);