]> Pileus Git - ~andy/linux/blobdiff - drivers/hid/hid-stantum.c
Merge branch 'can/at91_can-for-net-2.6' of git://git.pengutronix.de/git/mkl/linux-2.6
[~andy/linux] / drivers / hid / hid-stantum.c
index 3171be28c3d534daf8d3a8f245de79a1137fc9a8..b2be1d11916b79aa5f600dedd06fdfe917041707 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;