diff options
author | Zhouyang Jia <jiazhouyang09@gmail.com> | 2018-06-12 12:40:03 +0800 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-07-11 20:41:01 +0200 |
commit | 7874b919866ba91bac253fa219d3d4c82bb944df (patch) | |
tree | 0772e33b396510ae0d2a64b5e14c460bf071573b /Documentation/x86 | |
parent | a41efe03e6110d7d85db272290aeed7e1ce9b63b (diff) | |
download | linux-7874b919866ba91bac253fa219d3d4c82bb944df.tar.bz2 |
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>
Diffstat (limited to 'Documentation/x86')
0 files changed, 0 insertions, 0 deletions