diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-08-04 01:44:47 (GMT) |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-08-12 09:28:07 (GMT) |
commit | fccbd21f333638a33efb6fc65fff58d1bc2a90bd (patch) | |
tree | 250c7eabbe96b9813b51447e1350522cb00e2bc0 /drivers/rapidio | |
parent | ef256176c7ede53741ad8c0231db0cc46c0cfce5 (diff) | |
download | linux-fccbd21f333638a33efb6fc65fff58d1bc2a90bd.tar.xz |
mfd: Fix wm8994_device_init() return value
wm8994_device_init() will return 0 in the case of kzalloc fail
in current implementation.
This patch fixes the return value.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/rapidio')
0 files changed, 0 insertions, 0 deletions