Skip to content
Commit 97d8a697 authored by Pratyush Yadav's avatar Pratyush Yadav Committed by Tom Rini
Browse files

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: default avatarPratyush Yadav <p.yadav@ti.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent ffb22f6b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment