diff options
| author | Xiubo Li <Li.Xiubo@freescale.com> | 2014-10-09 17:02:54 +0800 | 
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2014-10-20 12:25:01 +0100 | 
| commit | ba3f1c85a6e05e0ff90215d817249617fcbee523 (patch) | |
| tree | 1cf66b0fa9e2f23b83e66a3571ee6ef1ee8ecfe1 /lib/test-string_helpers.c | |
| parent | 5bd83ed0984b0b0ac51d648b0ec167b36291f87e (diff) | |
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>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
