Skip to content
Commit 7874b919 authored by Zhouyang Jia's avatar Zhouyang Jia Committed by Alexandre Belloni
Browse files

rtc: bq4802: add error handling for devm_ioremap



When devm_ioremap fails, the lack of error-handling code may
cause unexpected results.

This patch adds error-handling code after calling devm_ioremap.

Signed-off-by: default avatarZhouyang Jia <jiazhouyang09@gmail.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent a41efe03
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