ARM: omap1: osk: use device properties for at24 eeprom
authorBartosz Golaszewski <brgl@bgdev.pl>
Wed, 4 Apr 2018 12:38:22 +0000 (14:38 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 1 May 2018 15:07:05 +0000 (08:07 -0700)
commitfbd412ba2b3083182738f5e2321118be80808188
tree6a982a906d118a8be372fc6b5f25cd2ba1d2fa65
parent60cc43fc888428bb2f18f08997432d426a243338
ARM: omap1: osk: 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 <brgl@bgdev.pl>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/board-osk.c