regmap: cache: fix errno in regcache_hw_init()
When kmalloc() fails, we should return -ENOMEM. Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Showing
Please register or sign in to comment