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 8fbff2358eb6..03bee1970d70 100644
--- a/drivers/hid/hid-egalax.c
+++ b/drivers/hid/hid-egalax.c
@@ -200,7 +200,7 @@ static int egalax_probe(struct hid_device *hdev, const struct hid_device_id *id)
200 200
201 td = kzalloc(sizeof(struct egalax_data), GFP_KERNEL); 201 td = kzalloc(sizeof(struct egalax_data), GFP_KERNEL);
202 if (!td) { 202 if (!td) {
203 dev_err(&hdev->dev, "cannot allocate eGalax data\n"); 203 hid_err(hdev, "cannot allocate eGalax data\n");
204 return -ENOMEM; 204 return -ENOMEM;
205 } 205 }
206 hid_set_drvdata(hdev, td); 206 hid_set_drvdata(hdev, td);