diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-01-03 13:41:37 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-01-03 13:41:37 -0500 |
commit | a8d3584a2df28827094f6338cde1303c467bc1f0 (patch) | |
tree | d2cdb824f4b2f109ad6a74285455b56e5a2dd118 /drivers/char/watchdog/s3c2410_wdt.c | |
parent | f47fc0ac7ead5ed91a11fcabfad6ee44c17ee934 (diff) |
[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>
Diffstat (limited to 'drivers/char/watchdog/s3c2410_wdt.c')
-rw-r--r-- | drivers/char/watchdog/s3c2410_wdt.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/watchdog/s3c2410_wdt.c b/drivers/char/watchdog/s3c2410_wdt.c index eb667daee19b..621e8a99e733 100644 --- a/drivers/char/watchdog/s3c2410_wdt.c +++ b/drivers/char/watchdog/s3c2410_wdt.c | |||
@@ -397,7 +397,6 @@ static int s3c2410wdt_probe(struct platform_device *pdev) | |||
397 | return -ENOENT; | 397 | return -ENOENT; |
398 | } | 398 | } |
399 | 399 | ||
400 | clk_use(wdt_clock); | ||
401 | clk_enable(wdt_clock); | 400 | clk_enable(wdt_clock); |
402 | 401 | ||
403 | /* see if we can actually set the requested timer margin, and if | 402 | /* see if we can actually set the requested timer margin, and if |
@@ -444,7 +443,6 @@ static int s3c2410wdt_remove(struct platform_device *dev) | |||
444 | 443 | ||
445 | if (wdt_clock != NULL) { | 444 | if (wdt_clock != NULL) { |
446 | clk_disable(wdt_clock); | 445 | clk_disable(wdt_clock); |
447 | clk_unuse(wdt_clock); | ||
448 | clk_put(wdt_clock); | 446 | clk_put(wdt_clock); |
449 | wdt_clock = NULL; | 447 | wdt_clock = NULL; |
450 | } | 448 | } |