On Fri, 23 Aug 2019, Enric Balletbo i Serra wrote: > With the increasing use of dedicated CrOS EC MCUs, it takes a fair amount > of boiler plate code to add those devices, add a struct that can be used > to specify a dedicated CrOS EC MCU so we can just add a new item to it to > define a new dedicated MCU. > > 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 v6: > - Add a break statement once the MCU type has been determined (Lee Jones) > > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > drivers/mfd/cros_ec_dev.c | 88 ++++++++++++++++++++++----------------- > 1 file changed, 49 insertions(+), 39 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

