diff options
author | Chuhong Yuan <hslester96@gmail.com> | 2019-10-16 20:54:03 +0800 |
---|---|---|
committer | Pavel <pavel@ucw.cz> | 2019-11-03 17:39:00 +0100 |
commit | fc7b5028f2627133c7c18734715a08829eab4d1f (patch) | |
tree | f15e76977a17218d546bc09bd41f03b0c78185c6 /Documentation | |
parent | 7c6082b903ac28dc3f383fba57c6f9e7e2594178 (diff) |
leds: an30259a: add a check for devm_regmap_init_i2c
an30259a_probe misses a check for devm_regmap_init_i2c and may cause
problems.
Add a check and print errors like other leds drivers.
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions