diff options
author | Laxman Dewangan <[email protected]> | 2013-02-21 16:44:36 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-02-21 17:22:28 -0800 |
commit | dfaf09ac8555141b7311bb69b456bd96886fd90c (patch) | |
tree | be5f3f97462475fdf38aa26e0aa8bf8141731581 /tools/perf | |
parent | eb5eba4ef72248b976465906cfed5fca2e9d8831 (diff) |
drivers/rtc/rtc-tps65910.c: remove unnecessary irq stat save and restore
The driver stores the interrupt enable register before going to suspend
and restore in resume. Also it enables alarm before going to suspend.
The driver only write the Interrupt enable register for enabling ALARM and
does not enable any other bits. So it is not require to save complete
register and enable ALARM interrupt before suspend and restore in resume.
Also ALARM interrupt already enable if alarm is enabled before going to
suspend and hence it is not require to enable explictly in suspend.
Removing such above code.
Signed-off-by: Laxman Dewangan <[email protected]>
Cc: Mark Brown <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions