commit | b944a688063c544469db713e0d613caaddd598fe | [log] [tgz] |
---|---|---|
author | Lee Jones <lee.jones@linaro.org> | Mon Oct 21 10:55:23 2019 +0100 |
committer | Lee Jones <lee.jones@linaro.org> | Mon Nov 11 08:45:03 2019 +0000 |
tree | 02c7dc0c2da5cc0aab826ba77b482937835c76bf | |
parent | 5a47c0fbd276b7f57bd38f153e8b15784b2f6f22 [diff] |
mfd: mfd-core: Move pdev->mfd_cell creation back into mfd_add_device() Most of the complexity of mfd_platform_add_cell() has been removed. The only functionality left duplicates cell memory into the child's platform device. Since it's only a few lines, moving it to the main thread and removing the superfluous function makes sense. Signed-off-by: Lee Jones <lee.jones@linaro.org> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Reviewed-by: Mark Brown <broonie@kernel.org>