From: Alexander Holler Date: Wed, 11 Sep 2013 21:24:20 +0000 (-0700) Subject: drivers/rtc/rtc-hid-sensor-time.c: improve error handling when rtc register fails X-Git-Tag: v3.12-rc1~52^2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7707bda3ee4aa4415090755c22e5a9c03fc530dc;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed