ARM: davinci: dm644x-evm: use device properties for at24 eeprom
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 8 Jan 2019 09:15:32 +0000 (10:15 +0100)
committerSekhar Nori <nsekhar@ti.com>
Thu, 10 Jan 2019 08:27:59 +0000 (13:57 +0530)
commit4b683bbbf572a9e103c09ee271683c82b5122557
treecd8529660789f801a8ceea7169f062300b0a436b
parentc70cf56252b9c1ff84bb66073aa3bf0a68e8ff12
ARM: davinci: dm644x-evm: use device properties for at24 eeprom

We want to work towards phasing out the at24_platform_data structure.
There are few users and its contents can be represented using generic
device properties. Using device properties only will allow us to
significantly simplify the at24 configuration code.

Remove the at24_platform_data structure and replace it with an array
of property entries. Drop the byte_len/size property, as the model name
already implies the EEPROM's size.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/board-dm644x-evm.c