Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Pavel Machek <[email protected]>
- Loading branch information