diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2020-09-24 10:04:10 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-09-30 11:55:22 -0400 |
commit | ffb22f6b847d21b30831c91294ec21d6a5e80ed4 (patch) | |
tree | c47b83505480d280dddb4b2ad2401df7268b11f8 /net/net.c | |
parent | 88e6a60e4aeed2fec059e513572d191ce9387b07 (diff) | |
download | u-boot-ffb22f6b847d21b30831c91294ec21d6a5e80ed4.tar.gz u-boot-ffb22f6b847d21b30831c91294ec21d6a5e80ed4.tar.xz u-boot-ffb22f6b847d21b30831c91294ec21d6a5e80ed4.zip |
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>
Diffstat (limited to 'net/net.c')
0 files changed, 0 insertions, 0 deletions