diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-04-29 16:20:11 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-29 18:28:34 -0700 |
commit | 406dc00407edfa75c97123c7f8653e850358fb72 (patch) | |
tree | f8a8c8f43b1f134f970752f9b1ff5d0af2b53a89 /drivers/rtc/rtc-max77686.c | |
parent | dbda161be8ae43133bbeac34da3ad99ffeb63556 (diff) |
drivers/rtc/rtc-max8997.c: fix incorrect return value on error
'ret' was being returned without initializing it to error code. While at
it also remove duplicate return statement.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Jonghwa Lee <jonghwa3.lee@samsung.com>
Cc: Chiwoong Byun <woong.byun@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-max77686.c')
0 files changed, 0 insertions, 0 deletions