Commit 8af5fe3bc59d73479ff701340e1a9bc7c6b5f0ff
Committed by
Samuel Ortiz
1 parent
25fe24f884
Exists in
master
and in
7 other branches
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>
Showing 1 changed file with 3 additions and 1 deletions Side-by-side Diff
drivers/mfd/mfd-core.c