commit | 279cad8d081700283dfaaa8fbf0ef467ca11b8e7 | [log] [tgz] |
---|---|---|
author | Pratyush Yadav <p.yadav@ti.com> | Thu Sep 24 10:04:11 2020 +0530 |
committer | Tom Rini <trini@konsulko.com> | Wed Sep 30 11:55:22 2020 -0400 |
tree | b16afc997aa314bb56fa0487e32c0b4365e1ef55 | |
parent | de03d12ab22543983ad6f667b564b501a76b8d37 [diff] |
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>