]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - drivers/hid/hid-3m-pct.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
[~shefty/rdma-dev.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);