projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers/rtc/rtc-coh901331.c: use clk_prepare_enable() and clk_disable_unprepare()
[deliverable/linux.git]
/
drivers
/
rtc
/
rtc-coh901331.c
diff --git
a/drivers/rtc/rtc-coh901331.c
b/drivers/rtc/rtc-coh901331.c
index 76b2156d3c62252c80aec1eacce8fe0684950d75..c8115b83e5ab513d2360adbdb4911352c3cd3187 100644
(file)
--- a/
drivers/rtc/rtc-coh901331.c
+++ b/
drivers/rtc/rtc-coh901331.c
@@
-276,8
+276,7
@@
static void coh901331_shutdown(struct platform_device *pdev)
clk_enable(rtap->clk);
writel(0, rtap->virtbase + COH901331_IRQ_MASK);
- clk_disable(rtap->clk);
- clk_unprepare(rtap->clk);
+ clk_disable_unprepare(rtap->clk);
}
static struct platform_driver coh901331_driver = {
This page took
0.02348 seconds
and
5
git commands to generate.