diff options
author | Alessandro Zummo <a.zummo@towertech.it> | 2014-04-03 23:50:09 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-04 01:21:22 +0200 |
commit | 131c9cc832162bfe45be1065fa88d1ec2c165a3d (patch) | |
tree | 6a5ede933809e4d50c382af08178e8d6dbd41863 /drivers/rtc/rtc-pm8xxx.c | |
parent | drivers/rtc/rtc-ds3232.c: enable ds3232 to work as wakeup source (diff) | |
download | linux-131c9cc832162bfe45be1065fa88d1ec2c165a3d.tar.xz linux-131c9cc832162bfe45be1065fa88d1ec2c165a3d.zip |
rtc: verify a critical argument to rtc_update_irq() before using it
This small addition to the core simplifies code in the drivers and makes
them more robust when handling shared IRQs.
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-pm8xxx.c')
0 files changed, 0 insertions, 0 deletions