regulator: handle kcalloc() failure
Return -ENOMEM if kcalloc() fails Signed-off-by: NDan Carpenter <error27@gmail.com> Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: NWolfram Sang <w.sang@pengutronix.de> Signed-off-by: NLiam Girdwood <lrg@slimlogic.co.uk>
Showing
想要评论请 注册 或 登录