Skip to content
Commit c61e1658 authored by Chunyan Zhang's avatar Chunyan Zhang Committed by Lee Jones
Browse files

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: default avatarChunyan Zhang <chunyan.zhang@unisoc.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent bf9367a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment