Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333341
b: refs/heads/master
c: ce3810c
h: refs/heads/master
i:
  333339: 65ea631
v: v3
  • Loading branch information
Jean Pihet authored and Kevin Hilman committed Oct 2, 2012
1 parent c330468 commit 105f2ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 70071ff989bae3edfc14847aaa8e1c3baa2aacff
refs/heads/master: ce3810cdb4ca31238c87e095d2c494a5eaa4f65d
8 changes: 4 additions & 4 deletions trunk/drivers/power/avs/smartreflex.c
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ static int __init omap_sr_probe(struct platform_device *pdev)
if (!sr_info->base) {
dev_err(&pdev->dev, "%s: ioremap fail\n", __func__);
ret = -ENOMEM;
goto err_release_region;
goto err_free_name;
}

if (irq)
Expand Down Expand Up @@ -967,7 +967,7 @@ static int __init omap_sr_probe(struct platform_device *pdev)
dev_err(&pdev->dev, "%s: Unable to create debugfs directory\n",
__func__);
ret = PTR_ERR(sr_info->dbg_dir);
goto err_free_name;
goto err_debugfs;
}

(void) debugfs_create_file("autocomp", S_IRUGO | S_IWUSR,
Expand Down Expand Up @@ -1011,11 +1011,11 @@ static int __init omap_sr_probe(struct platform_device *pdev)

err_debugfs:
debugfs_remove_recursive(sr_info->dbg_dir);
err_free_name:
kfree(sr_info->name);
err_iounmap:
list_del(&sr_info->node);
iounmap(sr_info->base);
err_free_name:
kfree(sr_info->name);
err_release_region:
release_mem_region(mem->start, resource_size(mem));
err_free_devinfo:
Expand Down

0 comments on commit 105f2ac

Please sign in to comment.