commit | c61e165822d57fd317868d14b46151d9c83662d2 | [log] [tgz] |
---|---|---|
author | Chunyan Zhang <chunyan.zhang@unisoc.com> | Fri Jun 19 17:09:14 2020 +0800 |
committer | Lee Jones <lee.jones@linaro.org> | Thu Jun 25 07:44:20 2020 +0100 |
tree | 854793dc85dcfc5680c41ca62a3f8276a8b1f5b7 | |
parent | bf9367a156fd868b312e8a575c00d57db2bc16bf [diff] |
mfd: sprd: Populate sub-devices defined in DT SC27XX-SPI added subdevices according to a pre-defined mfd_cell array, no matter these devices were really included on board. In this patch, switch to use devm_of_platform_populate() for adding sub-devices which are defined in devicetree. Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>