[PATCH v2 0/8] OMAP I2C driver cleanups

Andrew Davis posted 8 patches 2 weeks, 3 days ago
arch/arm/mach-omap1/i2c.c              |   4 -
drivers/i2c/busses/i2c-omap.c          | 255 +++++++++++--------------
include/linux/platform_data/i2c-omap.h |   5 -
3 files changed, 113 insertions(+), 151 deletions(-)
[PATCH v2 0/8] OMAP I2C driver cleanups
Posted by Andrew Davis 2 weeks, 3 days 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

Changes for v2:
 - Seems bitfield.h is not indirectly included for all archs, include
   it explicitly in patch [8/8]
 - Add Reviewed-by tags

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          | 255 +++++++++++--------------
 include/linux/platform_data/i2c-omap.h |   5 -
 3 files changed, 113 insertions(+), 151 deletions(-)

-- 
2.39.2