Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251842
b: refs/heads/master
c: 283a1c1
h: refs/heads/master
v: v3
  • Loading branch information
Aaro Koskinen authored and Tony Lindgren committed May 3, 2011
1 parent 6761393 commit 64a147e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 833d78fc58774738a6fe7175794b9a9b251afa88
refs/heads/master: 283a1c1f276d879ab8bafec8ec9f8fca03f159bb
6 changes: 4 additions & 2 deletions trunk/arch/arm/mach-omap2/smartreflex.c
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ static int __init omap_sr_probe(struct platform_device *pdev)
dev_err(&pdev->dev, "%s: Unable to create debugfs directory"
"for n-values\n", __func__);
ret = PTR_ERR(nvalue_dir);
goto err_iounmap;
goto err_debugfs;
}

omap_voltage_get_volttable(sr_info->voltdm, &volt_data);
Expand All @@ -939,7 +939,7 @@ static int __init omap_sr_probe(struct platform_device *pdev)
"entries for n-values\n",
__func__, sr_info->voltdm->name);
ret = -ENODATA;
goto err_iounmap;
goto err_debugfs;
}

for (i = 0; i < sr_info->nvalue_count; i++) {
Expand All @@ -953,6 +953,8 @@ static int __init omap_sr_probe(struct platform_device *pdev)

return ret;

err_debugfs:
debugfs_remove_recursive(sr_info->dbg_dir);
err_iounmap:
list_del(&sr_info->node);
iounmap(sr_info->base);
Expand Down

0 comments on commit 64a147e

Please sign in to comment.