i2c: ibm_iic: replace in_8/out_8 with ioread8/iowrite8
PATCH 1/1 i2c: ibm_iic: replace in_8/out_8 with ioread8/iowrite8
Mechanical conversion of the ppc4xx-specific in_8/out_8 accessors to the generic ioread8/iowrite8 helpers for portability.
This allows COMPILE_TEST to be enabled for greater compile coverage.
Also replace 4xx with 44x as the latter is a deprecated symbol.
Assisted-by opencode:big-pickle
Signed-off-by Rosen Penev <[email protected]>
--- drivers/i2c/busses/Kconfig | 2 +- drivers/i2c/busses/i2c-ibm_iic.c | 150 +++++++++++++++---------------- 2 files changed, 73 insertions(+), 79 deletions(-)
drivers/i2c/busses/Kconfig +1 -1
@@ -731,7 +731,7 @@ config I2C_HISI config I2C_IBM_IIC tristate "IBM PPC 4xx on-chip I2C interface" - depends on 4xx || (PPC && COMPILE_TEST) + depends on 44x || COMPILE_TEST help Say Y here if you want to use IIC peripheral found on embedded IBM PPC 4xx based systems.
drivers/i2c/busses/i2c-ibm_iic.c +72 -78
367 lines not on this page · raw message
Signature · 1 line
2.54.0