[PATCH v4 0/1] eeprom: at24: convert magic numbers to structs.

From: Sven Van Asbroeck
Date: Wed Dec 20 2017 - 11:37:08 EST


v4:
applied formatting suggestions

v3:
rebase against maintainer's latest devel branch
removed macros from struct {i2c,of,acpi}_device_id for easy grepping
applied newline, formatting, tab suggestions

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 (1):
eeprom: at24: convert magic numbers to structs.

drivers/misc/eeprom/at24.c | 182 +++++++++++++++++++++++++--------------------
1 file changed, 100 insertions(+), 82 deletions(-)

--
1.9.1