diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2013-01-16 14:53:54 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-02-14 00:22:50 +0100 |
commit | e581238f2817d8ca8948340a2bc26dd9504bb812 (patch) | |
tree | 78197777c7d08b7d5134ffcdbdb94d30961faebb /drivers/mfd/as3711.c | |
parent | mfd: twl-core: Allocate twl_modules dynamically (diff) | |
download | linux-e581238f2817d8ca8948340a2bc26dd9504bb812.tar.xz linux-e581238f2817d8ca8948340a2bc26dd9504bb812.zip |
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 <peter.ujfalusi@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/as3711.c')
0 files changed, 0 insertions, 0 deletions