diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2013-02-22 04:44:36 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-22 05:22:28 +0400 |
commit | dfaf09ac8555141b7311bb69b456bd96886fd90c (patch) | |
tree | be5f3f97462475fdf38aa26e0aa8bf8141731581 /drivers/hwmon | |
parent | eb5eba4ef72248b976465906cfed5fca2e9d8831 (diff) | |
download | linux-dfaf09ac8555141b7311bb69b456bd96886fd90c.tar.xz |
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 <ldewangan@nvidia.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions