commit | ad819039f1aa5c5179ecdfb035ed2864d93e741e | [log] [tgz] |
---|---|---|
author | Sachin Kamat <[email protected]> | Mon Apr 29 16:20:12 2013 -0700 |
committer | Linus Torvalds <[email protected]> | Mon Apr 29 18:28:34 2013 -0700 |
tree | b430ceecc888867d9fa00165beb47b5b3a3e621c | |
parent | 406dc00407edfa75c97123c7f8653e850358fb72 [diff] |
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 <[email protected]> Cc: Chiwoong Byun <[email protected]> Cc: Jonghwa Lee <[email protected]> Cc: Laxman dewangan <[email protected]> Cc: Venu Byravarasu <[email protected]> Cc: Jingoo Han <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>