Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6
[deliverable/linux.git] / drivers / hid / hid-3m-pct.c
index 4fb7c7528d1666d31057d859e93f2689879d1e9a..5243ae2d37300eeec72447b3754d95c944ab0c1f 100644 (file)
@@ -246,7 +246,7 @@ static int mmm_probe(struct hid_device *hdev, const struct hid_device_id *id)
 
        md = kzalloc(sizeof(struct mmm_data), GFP_KERNEL);
        if (!md) {
-               dev_err(&hdev->dev, "cannot allocate 3M data\n");
+               hid_err(hdev, "cannot allocate 3M data\n");
                return -ENOMEM;
        }
        hid_set_drvdata(hdev, md);
This page took 0.024691 seconds and 5 git commands to generate.