i2c: busses: Introduce and use i2c_10bit_addr_*_from_msg()
Status from this message: merged to i2c/i2c-host.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest10 patches 7 repliesApplied
- v18 patches 12 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | i2c: Introduce i2c_10bit_addr_*_from_msg() helpersinclude/ | +14 | 1 reply | |
| 2/10 | i2c: axxia: Use i2c_10bit_addr_*_from_msg() helpersdrivers/ | +3 | 0 replies | |
| 3/10 | i2c: bcm-kona: Use i2c_10bit_addr_*_from_msg() helpersdrivers/ | +3 | 0 replies | |
| 4/10 | i2c: brcmstb: Use i2c_10bit_addr_*_from_msg() helpersdrivers/ | +5 | 0 replies | |
| 5/10 | i2c: eg20t: Use i2c_10bit_addr_*_from_msg() helpersdrivers/ | +5 | 0 replies | |
| 6/10 | i2c: kempld: Use i2c_10bit_addr_*_from_msg() helpersdrivers/ | +5 | 2 replies | |
| 7/10 | i2c: mt7621: Use i2c_10bit_addr_*_from_msg() helpersdrivers/ | +8 | 2 replies | |
| 8/10 | i2c: rzv2m: Use i2c_10bit_addr_*_from_msg() helpersdrivers/ | +5 | 0 replies | |
| 9/10 | i2c: ibm_iic: Use i2c_*bit_addr*_from_msg() helpersdrivers/ | +6 | 0 replies | |
| 10/10 | i2c: mv64xxx: Use i2c_*bit_addr*_from_msg() helpersdrivers/ | +3 | 0 replies |
Reviews trailers per patch
1 of 10 patches has a Reviewed-by or Acked-by.
| Patch | AngeloGioacchino Del Regno |
|---|---|
| 1/10 | R-b |
| 2/10 | |
| 3/10 | |
| 4/10 | |
| 5/10 | |
| 6/10 | |
| 7/10 | |
| 8/10 | |
| 9/10 | |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/10] i2c: busses: Introduce and use i2c_10bit_addr_*_from_msg()
For 8-bit addresses we have a helper function, define similar ones for 10-bit addresses and use it in the drivers. It allows to remove some boilerplate code.
Fabrizio, I haven't collected your tags as code changed more than 50%, however semantically the parts you reviewed stay the same.
In v2:
- introduced hi/lo helpers (Geert)
- rewrote series based on the above
- added a couple of new converted drivers
v1: https://lore.kernel.org/r/[email protected]
Andy Shevchenko (10):
i2c: Introduce i2c_10bit_addr_*_from_msg() helpers
i2c: axxia: Use i2c_10bit_addr_*_from_msg() helpers
i2c: bcm-kona: Use i2c_10bit_addr_*_from_msg() helpers
i2c: brcmstb: Use i2c_10bit_addr_*_from_msg() helpers
i2c: eg20t: Use i2c_10bit_addr_*_from_msg() helpers
i2c: kempld: Use i2c_10bit_addr_*_from_msg() helpers
i2c: mt7621: Use i2c_10bit_addr_*_from_msg() helpers
i2c: rzv2m: Use i2c_10bit_addr_*_from_msg() helpers
i2c: ibm_iic: Use i2c_*bit_addr*_from_msg() helpers
i2c: mv64xxx: Use i2c_*bit_addr*_from_msg() helpers
drivers/i2c/busses/i2c-axxia.c | 21 +++------------------ drivers/i2c/busses/i2c-bcm-kona.c | 6 +++--- drivers/i2c/busses/i2c-brcmstb.c | 11 +++++------ drivers/i2c/busses/i2c-eg20t.c | 28 +++++----------------------- drivers/i2c/busses/i2c-ibm_iic.c | 14 ++++++-------- drivers/i2c/busses/i2c-kempld.c | 10 +++++----- drivers/i2c/busses/i2c-mt7621.c | 20 ++++++++------------ drivers/i2c/busses/i2c-mv64xxx.c | 12 +++--------- drivers/i2c/busses/i2c-rzv2m.c | 15 +++++---------- include/linux/i2c.h | 14 ++++++++++++++ 10 files changed, 57 insertions(+), 94 deletions(-)
Signature · 1 line
2.45.1.3035.g276e886db78b