On Fri, 23 Aug 2019, Enric Balletbo i Serra wrote:

> Use mfd_add_hotplug_devices() helper to register the subdevices. The
> helper allows us to reduce the boiler plate and also registers the
> subdevices in the same way as used in other functions used in this
> files.
> 
> Signed-off-by: Enric Balletbo i Serra <[email protected]>
> Reviewed-by: Gwendal Grignou <[email protected]>
> Tested-by: Gwendal Grignou <[email protected]>
> ---
> 
> Changes in v6:
> - Improve patch description stating the reason of the change (Lee Jones)
> 
> Changes in v5: None
> Changes in v4: None
> Changes in v3:
> - Add a new patch to use mfd_add_hoplug_devices to register subdevices
> 
> Changes in v2: None
> 
>  drivers/mfd/cros_ec_dev.c | 18 ++++++------------
>  1 file changed, 6 insertions(+), 12 deletions(-)

For my own reference:
  Acked-for-MFD-by: Lee Jones <[email protected]>

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

Reply via email to