Skip to content

Commit

Permalink
Merge branches 'sh/rtc' and 'common/clkfwk' into sh/urgent
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Mundt committed Nov 10, 2010
3 parents bea2782 + 899be96 + ed10b49 commit 8ac5ba6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions drivers/rtc/rtc-sh.c
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ static int __init sh_rtc_probe(struct platform_device *pdev)
clk_put(rtc->clk);
iounmap(rtc->regbase);
err_badmap:
release_resource(rtc->res);
release_mem_region(rtc->res->start, rtc->regsize);
err_badres:
kfree(rtc);

Expand All @@ -786,7 +786,7 @@ static int __exit sh_rtc_remove(struct platform_device *pdev)
}

iounmap(rtc->regbase);
release_resource(rtc->res);
release_mem_region(rtc->res->start, rtc->regsize);

clk_disable(rtc->clk);
clk_put(rtc->clk);
Expand Down
4 changes: 2 additions & 2 deletions drivers/sh/clk/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ long clk_round_parent(struct clk *clk, unsigned long target,
*best_freq = freq_max;
}

pr_debug("too low freq %lu, error %lu\n", freq->frequency,
pr_debug("too low freq %u, error %lu\n", freq->frequency,
target - freq_max);

if (!error)
Expand All @@ -591,7 +591,7 @@ long clk_round_parent(struct clk *clk, unsigned long target,
*best_freq = freq_min;
}

pr_debug("too high freq %lu, error %lu\n", freq->frequency,
pr_debug("too high freq %u, error %lu\n", freq->frequency,
freq_min - target);

if (!error)
Expand Down

0 comments on commit 8ac5ba6

Please sign in to comment.