[PATCH 0/8] OMAP I2C driver cleanups

Andrew Davis posted 8 patches 3 weeks ago
There is a newer version of this series
arch/arm/mach-omap1/i2c.c              |   4 -
drivers/i2c/busses/i2c-omap.c          | 254 +++++++++++--------------
include/linux/platform_data/i2c-omap.h |   5 -
3 files changed, 112 insertions(+), 151 deletions(-)
[PATCH 0/8] OMAP I2C driver cleanups
Posted by Andrew Davis 3 weeks ago
Hello all,

Some hopefully simple cleanups and updates found while using this driver
as reference when porting the same over to Zephyr. No functional changes.

Thanks,
Andrew

Andrew Davis (8):
  i2c: omap: Drop bit shift for I2C register addresses
  i2c: omap: Remove unused is_rdr and is_xdr variables
  i2c: omap: Use devm_pm_runtime_enable() helper
  i2c: omap: Combine event flags register definitions
  i2c: omap: Use bool for flag values
  i2c: omap: Make reset bit name match register name
  i2c: omap: Switch to using BIT and GENMASK
  i2c: omap: Add OMAP_I2C_BUF_{TX,RX}TRSH definitions

 arch/arm/mach-omap1/i2c.c              |   4 -
 drivers/i2c/busses/i2c-omap.c          | 254 +++++++++++--------------
 include/linux/platform_data/i2c-omap.h |   5 -
 3 files changed, 112 insertions(+), 151 deletions(-)

-- 
2.39.2