Messages in this thread | | | Date | Mon, 12 Aug 2019 08:25:40 +0100 | From | Lee Jones <> | Subject | Re: [PATCH v5 09/11] mfd: cros_ec: Add convenience struct to define autodetectable CrOS EC subdevices |
| |
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 <enric.balletbo@collabora.com> > Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > Reviewed-by: Gwendal Grignou <gwendal@chromium.org> > Tested-by: Gwendal Grignou <gwendal@chromium.org> > --- > > 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 <lee.jones@linaro.org>
-- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
| |