parent 25fe24f884015ba2e1e39376deb055bbbdc5ba83 author Axel Lin 1275298255 +0800 committer Samuel Ortiz 1281605239 +0200 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 Signed-off-by: Samuel Ortiz Žd˜Ç”&x