On Tue, Aug 3, 2021 at 7:01 PM Hans de Goede <hdegoede@xxxxxxxxxx> wrote: > > Hi All, > > This patch-set adds a new i2c_acpi_client_count() helper function > to remove a bunch of code-duplication. > > Since 3 of the 4 patches touch files under drivers/platform/x86 and > also since the drivers/platform/x86/dual_accel_detect.h file is new > in pdx86/for-next I believe that it would be best to just merge the > entire series through my pdx86 tree. Utterly in favour of this series Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx> Thanks for doing this! > Mika + WSA, may I have your ack for merging the entire series through > the pdx86 tree (or please let me know if you want to proceed in a > different way) ? > > Regards, > > Hans > > > Hans de Goede (4): > i2c: acpi: Add an i2c_acpi_client_count() helper function > platform/x86: dual_accel_detect: Use the new i2c_acpi_client_count() > helper > platform/x86: i2c-multi-instantiate: Use the new > i2c_acpi_client_count() helper > platform/x86: intel_cht_int33fe: Use the new i2c_acpi_client_count() > helper > > drivers/i2c/i2c-core-acpi.c | 32 +++++++++++++++++++ > drivers/platform/x86/dual_accel_detect.h | 26 +-------------- > drivers/platform/x86/i2c-multi-instantiate.c | 27 +--------------- > .../intel/int33fe/intel_cht_int33fe_common.c | 29 +---------------- > include/linux/i2c.h | 5 +++ > 5 files changed, 40 insertions(+), 79 deletions(-) > > -- > 2.31.1 > -- With Best Regards, Andy Shevchenko