diff options
author | Pratyush Yadav <p.yadav@ti.com> | 2020-09-24 10:04:11 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-09-30 11:55:22 -0400 |
commit | 97d8a6970a3da5856633f2a705f0687fca4af9a5 (patch) | |
tree | b16afc997aa314bb56fa0487e32c0b4365e1ef55 /net/net.c | |
parent | ffb22f6b847d21b30831c91294ec21d6a5e80ed4 (diff) | |
download | u-boot-97d8a6970a3da5856633f2a705f0687fca4af9a5.tar.gz u-boot-97d8a6970a3da5856633f2a705f0687fca4af9a5.tar.xz u-boot-97d8a6970a3da5856633f2a705f0687fca4af9a5.zip |
regmap: zero out the regmap on allocation
Some fields will be introduced in the regmap structure that should be
set to 0 by default. So, once we allocate a regmap, make sure it is
zeroed out to avoid unexpected defaults for those values.
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net/net.c')
0 files changed, 0 insertions, 0 deletions