]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - drivers/hid/hid-egalax.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
[~shefty/rdma-dev.git] / drivers / hid / hid-egalax.c
index 8fbff2358eb663b7e3ee00bca9aa3e903fa0e9f6..03bee1970d70a076cf98e66f2a5ccdd1c4c2139c 100644 (file)
@@ -200,7 +200,7 @@ static int egalax_probe(struct hid_device *hdev, const struct hid_device_id *id)
 
        td = kzalloc(sizeof(struct egalax_data), GFP_KERNEL);
        if (!td) {
-               dev_err(&hdev->dev, "cannot allocate eGalax data\n");
+               hid_err(hdev, "cannot allocate eGalax data\n");
                return -ENOMEM;
        }
        hid_set_drvdata(hdev, td);