diff options
author | Sachin Kamat <[email protected]> | 2013-04-29 16:20:10 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-04-29 18:28:33 -0700 |
commit | dbda161be8ae43133bbeac34da3ad99ffeb63556 (patch) | |
tree | f7c15021e8cf39c6c6d7bcd6de681b29d06e6032 /lib/mpi/mpi-bit.c | |
parent | ad3f3cf489311af25f91bade664a1688896245e9 (diff) |
drivers/rtc/rtc-tps65910.c: fix incorrect return value on error
'ret' was not initialized to correct error value before returning.
Since 'irq' is also being tested for 0, we cannot return irq itself as
it means function is success even though we are returning before
completing the probe.
Signed-off-by: Sachin Kamat <[email protected]>
Acked-by: Venu Byravarasu <[email protected]>
Cc: Chiwoong Byun <[email protected]>
Cc: Jonghwa Lee <[email protected]>
Cc: Laxman dewangan <[email protected]>
Cc: Jingoo Han <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions