mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[ARM] Remove clk_use()/clk_unuse()
It seems that clk_use() and clk_unuse() are additional complexity which isn't required anymore. Remove them from the clock framework to avoid the additional confusion which they cause, and update all ARM machine types except for OMAP. Signed-off-by: Russell King <[email protected]>
This commit is contained in:
parent
f47fc0ac7e
commit
a8d3584a2d
18 changed files with 3 additions and 122 deletions
|
|
@ -460,7 +460,6 @@ static int s3c2410_nand_remove(struct platform_device *pdev)
|
|||
|
||||
if (info->clk != NULL && !IS_ERR(info->clk)) {
|
||||
clk_disable(info->clk);
|
||||
clk_unuse(info->clk);
|
||||
clk_put(info->clk);
|
||||
}
|
||||
|
||||
|
|
@ -598,7 +597,6 @@ static int s3c24xx_nand_probe(struct platform_device *pdev, int is_s3c2440)
|
|||
goto exit_error;
|
||||
}
|
||||
|
||||
clk_use(info->clk);
|
||||
clk_enable(info->clk);
|
||||
|
||||
/* allocate and map the resource */
|
||||
|
|
|
|||
Loading…
Reference in a new issue