On Fri, 19 Jun 2020, Chunyan Zhang wrote: > From: Chunyan Zhang <chunyan.zh...@unisoc.com> > > 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.zh...@unisoc.com> > --- > Changes since v1: > * Address comments from Lee Jones: > - Switch to use devm_of_platform_populate() to add sub-devices. > --- > drivers/mfd/sprd-sc27xx-spi.c | 75 ++--------------------------------- > 1 file changed, 3 insertions(+), 72 deletions(-)
Applied, thanks. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog