]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/hid/hid-mosart.c
HID: Add and use hid_<level>: dev_<level> equivalents
[mirror_ubuntu-bionic-kernel.git] / drivers / hid / hid-mosart.c
index ac5421d568f151cd6937f33244740d9f9759fedb..0668685380d570c89ecdd5fccd5e1dab0079197e 100644 (file)
@@ -199,7 +199,7 @@ static int mosart_probe(struct hid_device *hdev, const struct hid_device_id *id)
 
        td = kmalloc(sizeof(struct mosart_data), GFP_KERNEL);
        if (!td) {
-               dev_err(&hdev->dev, "cannot allocate MosArt data\n");
+               hid_err(hdev, "cannot allocate MosArt data\n");
                return -ENOMEM;
        }
        td->valid = false;