commit | de03d12ab22543983ad6f667b564b501a76b8d37 | [log] [tgz] |
---|---|---|
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | Thu Sep 24 10:04:10 2020 +0530 |
committer | Tom Rini <trini@konsulko.com> | Wed Sep 30 11:55:22 2020 -0400 |
tree | c47b83505480d280dddb4b2ad2401df7268b11f8 | |
parent | 7387340b7a56f5f0e4ec944b542b2c527ab678ad [diff] |
regmap: Add devm_regmap_init() Most of new linux drivers are using managed-API to allocate resources. To ease porting drivers from linux to U-Boot, introduce devm_regmap_init() as a managed API to get a regmap from the device tree. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Pratyush Yadav <p.yadav@ti.com>