diff options
author | Alexander Shiyan <[email protected]> | 2014-04-03 14:50:01 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-04-03 16:21:21 -0700 |
commit | 6a2b342228b98432a585c83d59ed6aa0620be7c4 (patch) | |
tree | 3f70e81e8757a79d192405ca5ae669510b1a3431 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 12de362108d5ec24cce1bbe520570dc8fdccca9c (diff) |
rtc: mc13xxx: make rtc_read_time() more readable
Remove unnecessary locks when reading the time and make the read
operation until the values of day matched between reading the seconds,
it will make the mc13xxx_rtc_read_time() procedure more readable.
Additionally, patch introduced a "seconds in a day" definition.
Signed-off-by: Alexander Shiyan <[email protected]>
Cc: Uwe Kleine-König <[email protected]>
Cc: Sascha Hauer <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions