diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-04-29 16:20:12 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-29 18:28:34 -0700 |
commit | ad819039f1aa5c5179ecdfb035ed2864d93e741e (patch) | |
tree | b430ceecc888867d9fa00165beb47b5b3a3e621c /drivers/rtc/rtc-max8907.c | |
parent | 406dc00407edfa75c97123c7f8653e850358fb72 (diff) | |
download | op-kernel-dev-ad819039f1aa5c5179ecdfb035ed2864d93e741e.zip op-kernel-dev-ad819039f1aa5c5179ecdfb035ed2864d93e741e.tar.gz |
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 <sachin.kamat@linaro.org>
Cc: Chiwoong Byun <woong.byun@samsung.com>
Cc: Jonghwa Lee <jonghwa3.lee@samsung.com>
Cc: Laxman dewangan <ldewangan@nvidia.com>
Cc: Venu Byravarasu <vbyravarasu@nvidia.com>
Cc: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-max8907.c')
0 files changed, 0 insertions, 0 deletions