regmap: cache: fix errno in regcache_hw_init()
When kmalloc() fails, we should return -ENOMEM. Signed-off-by: NXiubo Li <Li.Xiubo@freescale.com> Signed-off-by: NMark Brown <broonie@kernel.org>
Showing
想要评论请 注册 或 登录
When kmalloc() fails, we should return -ENOMEM. Signed-off-by: NXiubo Li <Li.Xiubo@freescale.com> Signed-off-by: NMark Brown <broonie@kernel.org>