commit | 131c9cc832162bfe45be1065fa88d1ec2c165a3d | [log] [tgz] |
---|---|---|
author | Alessandro Zummo <a.zummo@towertech.it> | Thu Apr 03 14:50:09 2014 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Apr 03 16:21:22 2014 -0700 |
tree | 6a5ede933809e4d50c382af08178e8d6dbd41863 | |
parent | c93a3ae2d213ff75a279fe6e28d8f41ca7f01483 [diff] |
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>