summaryrefslogtreecommitdiff
path: root/drivers/core/regmap.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-07-16 09:15:59 -0400
committerTom Rini <trini@konsulko.com>2021-07-16 09:15:59 -0400
commitc39946a2e2d062025c9fc8b34587dfdd45fd8703 (patch)
tree30326b7ad7ab94a6c936506636cf93d63b300384 /drivers/core/regmap.c
parentd0dab9336db08bf562dd7ded4a417efd8570cee7 (diff)
parent92cf458f8ad9410dedbedd41d048d26620ce5f12 (diff)
Merge branch '2021-07-15-assorted-fixes'
- Large number of Coverity reported issues addressed - m41t62 bugfix - Support more Android image compression formats - FIT + DTO bugfix
Diffstat (limited to 'drivers/core/regmap.c')
-rw-r--r--drivers/core/regmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/core/regmap.c b/drivers/core/regmap.c
index 3206f3d1128..5f98f85cfce 100644
--- a/drivers/core/regmap.c
+++ b/drivers/core/regmap.c
@@ -293,6 +293,7 @@ struct regmap *devm_regmap_init(struct udevice *dev,
int rc;
struct regmap **mapp, *map;
+ /* this looks like a leak, but devres takes care of it */
mapp = devres_alloc(devm_regmap_release, sizeof(struct regmap *),
__GFP_ZERO);
if (unlikely(!mapp))