commit | ffb22f6b847d21b30831c91294ec21d6a5e80ed4 | [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 | 88e6a60e4aeed2fec059e513572d191ce9387b07 [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>