On Mon, 22 Jul 2019, Enric Balletbo i Serra wrote:

> The CrOS EC is gaining lots of subdevices that are autodetectable by
> sending the EC_FEATURE_GET_CMD, it takes fair amount of boiler plate
> code to add those devices. So, add a struct that can be used to quickly
> add new subdevices without having to duplicate code.
> 
> Signed-off-by: Enric Balletbo i Serra <[email protected]>
> Acked-by: Andy Shevchenko <[email protected]>
> Reviewed-by: Gwendal Grignou <[email protected]>
> Tested-by: Gwendal Grignou <[email protected]>
> ---
> 
> Changes in v5: None
> Changes in v4: None
> Changes in v3:
> - Use mfd_add_hotplug_devices helper (Gwendal)
> 
> Changes in v2: None
> 
>  drivers/mfd/cros_ec_dev.c | 131 +++++++++++++++++++++-----------------
>  1 file changed, 73 insertions(+), 58 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