Skip to content

i2c/pdx86: Add an i2c_acpi_client_count() helper function

Hans de Goede linux-acpi linux-i2c platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4i2c: acpi: Add an i2c_acpi_client_count() helper functiondrivers/i2c/i2c-core-acpi.c include/linux/i2c.h+37 -04 replies
2/4platform/x86: dual_accel_detect: Use the new i2c_acpi_client_count() helperdrivers/platform/x86/dual_accel_detect.h+1 -250 replies
3/4platform/x86: i2c-multi-instantiate: Use the new i2c_acpi_client_count() helperdrivers/platform/x86/i2c-multi-instantiate.c+1 -260 replies
4/4platform/x86: intel_cht_int33fe: Use the new i2c_acpi_client_count() helperdrivers/platform/x86/intel/int33fe/intel_cht_int33fe_common.c+1 -280 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndy ShevchenkoMika WesterbergWolfram Sang
SeriesR-b
1/4A-b A-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/4] i2c/pdx86: Add an i2c_acpi_client_count() helper function

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.

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(-)
Signature · 1 line
2.31.1