Re: [PATCH] firmware: meson-sm: rework meson_sm_init to use module_platform_driver_probe

From: Kevin Hilman
Date: Thu Mar 08 2018 - 14:54:26 EST


Sudeep Holla <sudeep.holla@xxxxxxx> writes:

> Commit 3aa0582fdb82 ("of: platform: populate /firmware/ node from
> of_platform_default_populate_init()") takes care of populating
> all the devices under the /firmware/ node in of_platform_default_populate_init()
>
> This patch reworks meson_sm_init to use module_platform_driver_probe as
> the platform device is populated.
>
> Cc: Carlo Caione <carlo@xxxxxxxxxx>
> Cc: Kevin Hilman <khilman@xxxxxxxxxxxx>
> Cc: linux-amlogic@xxxxxxxxxxxxxxxxxxx
> Signed-off-by: Sudeep Holla <sudeep.holla@xxxxxxx>

I gave this a spin through kernelCI.org, and it passed fine on several
amlogic boards, so queuing for v4.17.

Thanks,

Kevin