]> Git Repo - J-u-boot.git/commit
regmap: zero out the regmap on allocation
authorPratyush Yadav <[email protected]>
Thu, 24 Sep 2020 04:34:11 +0000 (10:04 +0530)
committerTom Rini <[email protected]>
Wed, 30 Sep 2020 15:55:22 +0000 (11:55 -0400)
commit97d8a6970a3da5856633f2a705f0687fca4af9a5
treeb16afc997aa314bb56fa0487e32c0b4365e1ef55
parentffb22f6b847d21b30831c91294ec21d6a5e80ed4
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
drivers/core/regmap.c
This page took 0.045073 seconds and 4 git commands to generate.