ARM: s3c24xx: mini2440: Use device properties for at24 eeprom
authorBartosz Golaszewski <brgl@bgdev.pl>
Wed, 4 Apr 2018 11:51:47 +0000 (13:51 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 16 Apr 2018 18:17:14 +0000 (20:17 +0200)
commit6430b122c055aa39312df3eece50f3488e8d4953
tree0fe367e6f4c965e0924f83d5b257dc7cb9eb1454
parent60cc43fc888428bb2f18f08997432d426a243338
ARM: s3c24xx: mini2440: 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: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/mach-s3c24xx/mach-mini2440.c