v2: use struct at24_chip_data instead of struct at24_platform_data (which decreases code size) explicitly write out of compatible nodes, e.g. "atmel,24c04" (which allows grepping for of compatible nodes) v1: first shot Sven Van Asbroeck (2): eeprom: at24: convert magic numbers to structs. eeprom: at24: remove temporary fix for at24mac402 size. drivers/misc/eeprom/at24.c | 240 +++++++++++++++++++++------------------------ 1 file changed, 110 insertions(+), 130 deletions(-) -- 1.9.1