[PATCH] mfd: at91-usart: do not use compatible to register child devices

Lee Jones lee.jones at linaro.org
Wed Nov 11 11:26:28 EST 2020


On Tue, 03 Nov 2020, Codrin Ciubotariu wrote:

> There are no separate serial/SPI devices under the at91-usart MFD, but
> actually the MFD is used as a serial or a SPI device. There are no DT
> sub-nodes for the MFD children, so we should use platform device API to
> register the drivers.
> 
> Suggested-by: Lee Jones <lee.jones at linaro.org>
> Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu at microchip.com>
> ---
>  drivers/mfd/at91-usart.c | 12 ++++--------
>  1 file changed, 4 insertions(+), 8 deletions(-)

Applied, thanks.

-- 
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog



More information about the linux-arm-kernel mailing list