Skip to content
Commit 4e80b188 authored by Fabio Estevam's avatar Fabio Estevam Committed by Linus Torvalds
Browse files

drivers/rtc/rtc-stmp3xxx.c: check the return value from stmp_reset_block()



stmp_reset_block() may fail, so let's check its return value and
propagate it in the case of error.

Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Acked-by: default avatarShawn Guo <shawn.guo@linaro.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 2417898b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment