]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: properly handle platform_device_add_resources fail in mfd_add_device
authorAxel Lin <axel.lin@gmail.com>
Mon, 31 May 2010 09:30:55 +0000 (17:30 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 12 Aug 2010 09:27:19 +0000 (11:27 +0200)
commitc4426911ffd775d2bbf74c6e86f23f4fadfa770e
treedb9ae235ef680ce0778a9269aae394a2bbb11720
parenta93a3cd92019061dc7f7df8ff45db0c2c0502569
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>
drivers/mfd/mfd-core.c