Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289529
b: refs/heads/master
c: 6c2abcd
h: refs/heads/master
i:
  289527: ae0e262
v: v3
  • Loading branch information
Felipe Balbi committed Feb 1, 2012
1 parent baf2738 commit aa6951e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: e9e8c85e69310141d78daaecd6a56138700ac317
refs/heads/master: 6c2abcdd4f8e21ce686a26697de0ce198a16eaed
12 changes: 6 additions & 6 deletions trunk/drivers/usb/musb/musb_debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,22 +242,22 @@ int __devinit musb_init_debugfs(struct musb *musb)
int ret;

root = debugfs_create_dir("musb", NULL);
if (IS_ERR(root)) {
ret = PTR_ERR(root);
if (!root) {
ret = -ENOMEM;
goto err0;
}

file = debugfs_create_file("regdump", S_IRUGO, root, musb,
&musb_regdump_fops);
if (IS_ERR(file)) {
ret = PTR_ERR(file);
if (!file) {
ret = -ENOMEM;
goto err1;
}

file = debugfs_create_file("testmode", S_IRUGO | S_IWUSR,
root, musb, &musb_test_mode_fops);
if (IS_ERR(file)) {
ret = PTR_ERR(file);
if (!file) {
ret = -ENOMEM;
goto err1;
}

Expand Down

0 comments on commit aa6951e

Please sign in to comment.