regmap: cache: fix errno in regcache_hw_init()
authorXiubo Li <Li.Xiubo@freescale.com>
Thu, 9 Oct 2014 09:02:54 +0000 (17:02 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 13 Oct 2014 10:47:54 +0000 (12:47 +0200)
When kmalloc() fails, we should return -ENOMEM.

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

No differences found