summaryrefslogtreecommitdiff
path: root/include/i2c_eeprom.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2020-02-28 22:04:13 +0900
committerHeiko Schocher <hs@denx.de>2020-03-16 08:03:05 +0100
commited6dd4e460bd94150dc09fce547a27e2fcca66eb (patch)
tree86236e76e8a6fb94a1ab555e663eb22bfde30cf0 /include/i2c_eeprom.h
parentba6fb2f6aca54c6555742d507290cbfaa655e623 (diff)
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>
Diffstat (limited to 'include/i2c_eeprom.h')
-rw-r--r--include/i2c_eeprom.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/i2c_eeprom.h b/include/i2c_eeprom.h
index b96254ae79..cd620d519f 100644
--- a/include/i2c_eeprom.h
+++ b/include/i2c_eeprom.h
@@ -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;
};