X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fhid%2Fhid-egalax.c;h=72b1dd8d16ce9d9a0c97802982e5e15eb8bfd282;hb=2ade0c1d9d93b7642212657ef76f4a1e30233711;hp=5a1b52e0eb85f1ecfd7035f317c3b6577bf5d7cb;hpb=f8f5d4f11dc7d321fb372b09fc8767069a18bf30;p=pandora-kernel.git diff --git a/drivers/hid/hid-egalax.c b/drivers/hid/hid-egalax.c index 5a1b52e0eb85..72b1dd8d16ce 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) 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);