diff options
author | Dan Carpenter <error27@gmail.com> | 2010-03-07 15:36:45 +0300 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-03-22 19:44:44 +0000 |
commit | 67e46f347eb25222e2b415540b6ba3fd2574afe2 (patch) | |
tree | 9592b35a6228ed1c491805b38733b6f8dc709b78 /kernel/groups.c | |
parent | 3fff6c04d81a2852821135736fad2d8386464753 (diff) |
regulator: handle kcalloc() failure
Return -ENOMEM if kcalloc() fails
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'kernel/groups.c')
0 files changed, 0 insertions, 0 deletions