diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-05-31 17:30:55 +0800 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-08-12 11:27:19 +0200 |
commit | 8af5fe3bc59d73479ff701340e1a9bc7c6b5f0ff (patch) | |
tree | db9ae235ef680ce0778a9269aae394a2bbb11720 /drivers/mfd/davinci_voicecodec.c | |
parent | 25fe24f884015ba2e1e39376deb055bbbdc5ba83 (diff) | |
download | blackbird-op-linux-8af5fe3bc59d73479ff701340e1a9bc7c6b5f0ff.tar.gz blackbird-op-linux-8af5fe3bc59d73479ff701340e1a9bc7c6b5f0ff.zip |
mfd: properly handle platform_device_add_resources fail in mfd_add_device
platform_device_add_resources may fail, thus add error checking for it.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/davinci_voicecodec.c')
0 files changed, 0 insertions, 0 deletions