summaryrefslogtreecommitdiff
path: root/include/regmap.h
diff options
context:
space:
mode:
authorPratyush Yadav <p.yadav@ti.com>2020-09-24 10:04:11 +0530
committerTom Rini <trini@konsulko.com>2020-09-30 11:55:22 -0400
commit97d8a6970a3da5856633f2a705f0687fca4af9a5 (patch)
treeb16afc997aa314bb56fa0487e32c0b4365e1ef55 /include/regmap.h
parentffb22f6b847d21b30831c91294ec21d6a5e80ed4 (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>
Diffstat (limited to 'include/regmap.h')
0 files changed, 0 insertions, 0 deletions