[PATCH v2] soc: mediatek: SCPSYS: use module_platform_driver

Arnd Bergmann arnd at arndb.de
Wed Dec 16 03:22:52 PST 2015


On Wednesday 16 December 2015 12:00:56 Sascha Hauer wrote:
> With regulator support to the scpsys driver needs to be able to defer
> probe. Probe deferral is incompatible with module_platform_driver_probe,
> so use module_platform_driver. module_platform_driver_probe sets the
> suppress_bind_attrs. To prevent unbinding the device with
> module_platform_driver we have to set the flag explicitly in the driver
> now.
> 
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> ---
> 

Looks good now,

Acked-by: Arnd Bergmann <arnd at arndb.de>



More information about the linux-arm-kernel mailing list