diff options
author | Zhouyang Jia <jiazhouyang09@gmail.com> | 2018-06-12 06:40:03 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-07-11 20:41:01 +0200 |
commit | 7874b919866ba91bac253fa219d3d4c82bb944df (patch) | |
tree | 0772e33b396510ae0d2a64b5e14c460bf071573b /kernel/Kconfig.preempt | |
parent | rtc: ds1685: remove sysfs access to control registers (diff) | |
download | linux-7874b919866ba91bac253fa219d3d4c82bb944df.tar.xz linux-7874b919866ba91bac253fa219d3d4c82bb944df.zip |
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 'kernel/Kconfig.preempt')
0 files changed, 0 insertions, 0 deletions