[PATCH 00/13] eeprom: ee1004: improvements

From: Heiner Kallweit
Date: Mon May 24 2021 - 16:08:16 EST


This series includes a number of improvements to the ee1004 driver.

Heiner Kallweit (13):
eeprom: ee1004: Use kobj_to_i2c_client to simplify the code
eeprom: ee1004: Remove not needed check in ee1004_read
eeprom: ee1004: Remove not needed check in ee1004_eeprom_read
eeprom: ee1004: Remove usage of i2c_adapter_id in adapter comparison
eeprom: ee1004: Improve check for SMBUS features
eeprom: ee1004: Improve creating dummy devices
eeprom: ee1004: Switch to i2c probe_new callback
eeprom: ee1004: Cache current page at initialization of first device
only
eeprom: ee1004: Factor out setting page to ee1004_set_current_page
eeprom: ee1004: Improve error handling in ee1004_read
eeprom: ee1004: Move call to ee1004_set_current_page to
ee1004_eeprom_read
eeprom: ee1004: Add constant EE1004_NUM_PAGES
eeprom: ee1004: Add helper ee1004_cleanup

drivers/misc/eeprom/ee1004.c | 191 +++++++++++++++--------------------
1 file changed, 80 insertions(+), 111 deletions(-)

--
2.31.1