Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303633
b: refs/heads/master
c: 8048926
h: refs/heads/master
i:
  303631: ee02084
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Apr 25, 2012
1 parent c400623 commit bdb12e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 24c0328663623e1d10d7cc325f742b8d93b177ea
refs/heads/master: 8048926bb898730b41c4c2698e9aefb16870488c
7 changes: 4 additions & 3 deletions trunk/drivers/staging/media/as102/as102_usb_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ static int as102_usb_probe(struct usb_interface *intf,

as102_dev = kzalloc(sizeof(struct as102_dev_t), GFP_KERNEL);
if (as102_dev == NULL) {
err("%s: kzalloc failed", __func__);
dev_err(&intf->dev, "%s: kzalloc failed\n", __func__);
return -ENOMEM;
}

Expand Down Expand Up @@ -411,8 +411,9 @@ static int as102_usb_probe(struct usb_interface *intf,
ret = usb_register_dev(intf, &as102_usb_class_driver);
if (ret < 0) {
/* something prevented us from registering this driver */
err("%s: usb_register_dev() failed (errno = %d)",
__func__, ret);
dev_err(&intf->dev,
"%s: usb_register_dev() failed (errno = %d)\n",
__func__, ret);
goto failed;
}

Expand Down

0 comments on commit bdb12e5

Please sign in to comment.