diff options
| author | 2018-06-12 12:40:03 +0800 | |
|---|---|---|
| committer | 2018-07-11 20:41:01 +0200 | |
| commit | 7874b919866ba91bac253fa219d3d4c82bb944df (patch) | |
| tree | 0772e33b396510ae0d2a64b5e14c460bf071573b /scripts/patch-kernel | |
| parent | rtc: ds1685: remove sysfs access to control registers (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>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
