|
@@ -3084,7 +3084,7 @@ static int sisusb_probe(struct usb_interface *intf,
|
|
|
|
|
|
/* Allocate memory for our private */
|
|
/* Allocate memory for our private */
|
|
if (!(sisusb = kzalloc(sizeof(*sisusb), GFP_KERNEL))) {
|
|
if (!(sisusb = kzalloc(sizeof(*sisusb), GFP_KERNEL))) {
|
|
- dev_err(&sisusb->sisusb_dev->dev, "Failed to allocate memory for private data\n");
|
|
|
|
|
|
+ dev_err(&dev->dev, "Failed to allocate memory for private data\n");
|
|
return -ENOMEM;
|
|
return -ENOMEM;
|
|
}
|
|
}
|
|
kref_init(&sisusb->kref);
|
|
kref_init(&sisusb->kref);
|