Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
[pandora-kernel.git] / drivers / hid / hid-stantum.c
index 3171be2..b2be1d1 100644 (file)
@@ -222,7 +222,7 @@ static int stantum_probe(struct hid_device *hdev,
 
        sd = kmalloc(sizeof(struct stantum_data), GFP_KERNEL);
        if (!sd) {
-               dev_err(&hdev->dev, "cannot allocate Stantum data\n");
+               hid_err(hdev, "cannot allocate Stantum data\n");
                return -ENOMEM;
        }
        sd->valid = false;