[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 <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user