commit | 7707bda3ee4aa4415090755c22e5a9c03fc530dc | [log] [tgz] |
---|---|---|
author | Alexander Holler <holler@ahsoftware.de> | Wed Sep 11 14:24:20 2013 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Sep 11 15:58:55 2013 -0700 |
tree | 9fc4f89cc9ffcc0dd494df142093a68007f1660a | |
parent | 666a584d3a765a914642f80deef7a33fb309df5d [diff] |
drivers/rtc/rtc-hid-sensor-time.c: improve error handling when rtc register fails Stop processing hid input when registering the RTC fails and handle a NULL returned from devm_rtc_device_register() as a failure too. Signed-off-by: Alexander Holler <holler@ahsoftware.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>