From: Wei Yongjun Date: Mon, 29 Apr 2013 23:21:07 +0000 (-0700) Subject: drivers/rtc/rtc-pcf2123.c: fix error return code in pcf2123_probe() X-Git-Tag: v3.2.46~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7abe9d39f7a6c39cb282dac10c9345e242b4c6fb;p=pandora-kernel.git drivers/rtc/rtc-pcf2123.c: fix error return code in pcf2123_probe() commit 35623715818dfa720cccf99cd280dcbb4b78da23 upstream. Fix to return -ENODEV in the chip not found error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun Cc: Jingoo Han Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed