misc: i2c_eeprom: remove pagewidth field from i2c_eeprom

This struct member is not used in any effective way. Remove it.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
Masahiro Yamada
2020-02-28 22:04:13 +09:00
committed by Heiko Schocher
parent ba6fb2f6ac
commit ed6dd4e460
2 changed files with 3 additions and 7 deletions

View File

@@ -16,8 +16,6 @@ struct i2c_eeprom_ops {
struct i2c_eeprom {
/* The EEPROM's page size in byte */
unsigned long pagesize;
/* The EEPROM's page width in bits (pagesize = 2^pagewidth) */
unsigned pagewidth;
/* The EEPROM's capacity in bytes */
unsigned long size;
};