From: Sachin Kamat Date: Mon, 29 Apr 2013 23:20:12 +0000 (-0700) Subject: drivers/rtc/rtc-max77686.c: fix incorrect return value on error X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~123^2~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad819039f1aa5c5179ecdfb035ed2864d93e741e;p=pandora-kernel.git drivers/rtc/rtc-max77686.c: fix incorrect return value on error 'ret' was not initialized to error code before returning. While at it also remove some redundant code and cleanup. Signed-off-by: Sachin Kamat Cc: Chiwoong Byun Cc: Jonghwa Lee Cc: Laxman dewangan Cc: Venu Byravarasu Cc: Jingoo Han Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed