diff options
| author | Chao Xie <[email protected]> | 2013-02-21 16:45:17 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-02-21 17:22:28 -0800 |
| commit | 0cc0c38e91392d2da769c9831739df43787d99e3 (patch) | |
| tree | add267ad54c66c341418a2abe430e5f40a72c0cb /lib/mpi/mpi-internal.h | |
| parent | 5e0b2704a1d5c246c8282303bbc952cba17f94fc (diff) | |
drivers/rtc/rtc-sa1100.c: move clock enable/disable to probe/remove
The original sa1100_rtc_open/sa1100_rtc_release will be called when the
/dev/rtc0 is opened or closed. In fact, these two functions will
enable/disable the clock. Disabling clock will make rtc not work. So
only enable/disable clock when probe/remove the device.
Signed-off-by: Chao Xie <[email protected]>
Acked-by: Haojian Zhuang <[email protected]>
Cc: Leo Song <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions