Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 67e46f34 authored by Dan Carpenter's avatar Dan Carpenter Committed by Liam Girdwood
Browse files

regulator: handle kcalloc() failure



Return -ENOMEM if kcalloc() fails

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarWolfram Sang <w.sang@pengutronix.de>
Signed-off-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent 3fff6c04
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment