[RESEND PATCH] ARM: pxa: stargate2: use device properties for at24 eeprom

Robert Jarzmik robert.jarzmik at free.fr
Wed Apr 4 12:44:53 PDT 2018


Bartosz Golaszewski <brgl at bgdev.pl> writes:

> 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.
Hi Bartosz,

I'd like a little explanation for the last sentence. Are you implying that
ac24.c is using the "type" field, and if so could you point me to the correct
line, because I was under the impression a property called "size" is used for
byte_len value ... ?

Cheers.

--
Robert



More information about the linux-arm-kernel mailing list