commit | 7874b919866ba91bac253fa219d3d4c82bb944df | [log] [tgz] |
---|---|---|
author | Zhouyang Jia <jiazhouyang09@gmail.com> | Tue Jun 12 12:40:03 2018 +0800 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Wed Jul 11 20:41:01 2018 +0200 |
tree | 0772e33b396510ae0d2a64b5e14c460bf071573b | |
parent | a41efe03e6110d7d85db272290aeed7e1ce9b63b [diff] |
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: Zhouyang Jia <jiazhouyang09@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>