summaryrefslogtreecommitdiff
path: root/drivers/mfd/wm8994.h
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2014-07-01 15:57:36 +0400
committerLee Jones <lee.jones@linaro.org>2014-07-09 17:58:14 +0400
commitc981015e55f51d3f9bb3d52d07015f791a6b278d (patch)
tree22f410561bb2c64cfef76d12cbad9a1165b80012 /drivers/mfd/wm8994.h
parent932861748053a25848010aecbb15f23f455517b1 (diff)
downloadlinux-c981015e55f51d3f9bb3d52d07015f791a6b278d.tar.xz
mfd: pcf50633: Reconnect -ENOMEM error path
If platform_device_alloc() or platform_device_add_data() fail during pcf50633_probe(), the current code ignores the return error code and continues to attempt to allocate new platform devices for each of the supported regulators. Instead, if any failures occur we should fail out gracefully by cleaning up after ourselves and return the error. Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/wm8994.h')
0 files changed, 0 insertions, 0 deletions