i2c: busses: Introduce and use HZ_PER_GHZ
Status from this message: merged to i2c/i2c-host.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | units: Add HZ_PER_GHZinclude/ | +3 | 2 replies | |
| 2/7 | i2c: mlxbf: Use HZ_PER_GHZ constant instead of custom onedrivers/ | +2 | 0 replies | |
| 3/7 | i2c: mt65xx: Use HZ_PER_GHZ constant instead of plain numberdrivers/ | +6 | 0 replies | |
| 4/7 | i2c: nomadik: Use HZ_PER_GHZ constant instead of plain numberdrivers/ | +4 | 1 reply | |
| 5/7 | i2c: rk3x: Use HZ_PER_GHZ constant instead of plain numberdrivers/ | +6 | 1 reply | |
| 6/7 | i2c: st: Use HZ_PER_GHZ constant instead of plain numberdrivers/ | +2 | 1 reply | |
| 7/7 | i2c: synquacer: Use HZ_PER_GHZ constant instead of plain numberdrivers/ | +2 | 0 replies |
Reviews trailers per patch
4 of 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Linus Walleij | AngeloGioacchino Del Regno | Andi Shyti | Heiko Stuebner | Wolfram Sang | Patrice Chotard |
|---|---|---|---|---|---|---|
| Series | R-b | R-b | ||||
| 1/7 | R-b | R-b | ||||
| 2/7 | ||||||
| 3/7 | ||||||
| 4/7 | R-b | |||||
| 5/7 | R-b | |||||
| 6/7 | R-b | |||||
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.
Cover letter [PATCH v1 0/7] i2c: busses: Introduce and use HZ_PER_GHZ
A few drivers for I²C host controllers use HZ_PER_GHZ in numeric form. This is less readable and prone to subtle mistakes. Instead, introduce a well defined constant and use it in the drivers. No functional change implied except one case where 64-bit division replaced with 32-bit one.
Andy Shevchenko (7):
units: Add HZ_PER_GHZ
i2c: mlxbf: Use HZ_PER_GHZ constant instead of custom one
i2c: mt65xx: Use HZ_PER_GHZ constant instead of plain number
i2c: nomadik: Use HZ_PER_GHZ constant instead of plain number
i2c: rk3x: Use HZ_PER_GHZ constant instead of plain number
i2c: st: Use HZ_PER_GHZ constant instead of plain number
i2c: synquacer: Use HZ_PER_GHZ constant instead of plain number
drivers/i2c/busses/i2c-mlxbf.c | 5 ++--- drivers/i2c/busses/i2c-mt65xx.c | 11 ++++++----- drivers/i2c/busses/i2c-nomadik.c | 7 ++++--- drivers/i2c/busses/i2c-rk3x.c | 12 ++++++------ drivers/i2c/busses/i2c-st.c | 3 ++- drivers/i2c/busses/i2c-synquacer.c | 3 ++- include/linux/units.h | 3 +++ 7 files changed, 25 insertions(+), 19 deletions(-)
Signature · 1 line
2.50.1