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

From: Enric Balletbo i Serra
Date: Wed Aug 21 2019 - 13:50:27 EST


Hi Lee,

On 12/8/19 9:24, Lee Jones wrote:
> On Mon, 22 Jul 2019, Enric Balletbo i Serra wrote:
>
>> Use mfd_add_hotplug_devices() helper to register the subdevices.
>
> You need to state why this change is useful/required.
>

The reason for this change is to avoid a bit of boiler plate and be coherent
with the new functions created to register subdevices, as Gwendal pointed to use
that. I'll make explicit in the commit comment on next version.

Thanks,
Enric

>> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@xxxxxxxxxxxxx>
>> Reviewed-by: Gwendal Grignou <gwendal@xxxxxxxxxxxx>
>> Tested-by: Gwendal Grignou <gwendal@xxxxxxxxxxxx>
>> ---
>>
>> 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(-)
>