From: Peter Ujfalusi Date: Wed, 16 Jan 2013 13:53:54 +0000 (+0100) Subject: mfd: twl-core: Do not try to call legacy mfd add_children() when booted with DT X-Git-Tag: v3.9-rc1~92^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e581238f2817d8ca8948340a2bc26dd9504bb812;p=pandora-kernel.git mfd: twl-core: Do not try to call legacy mfd add_children() when booted with DT There is really no point to retry to add children devices in case the of_platform_populate() fails. We do not have any information provided via pdata in this case anyways. Depending on the boot type (legacy or DT) only execute either one. Signed-off-by: Peter Ujfalusi Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed