Re: [PATCH v6 10/11] mfd: cros_ec: Use mfd_add_hotplug_devices() helper

From: Lee Jones
Date: Tue Aug 27 2019 - 08:47:16 EST


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 <enric.balletbo@xxxxxxxxxxxxx>
> Reviewed-by: Gwendal Grignou <gwendal@xxxxxxxxxxxx>
> Tested-by: Gwendal Grignou <gwendal@xxxxxxxxxxxx>
> ---
>
> 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 <lee.jones@xxxxxxxxxx>

--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog