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

2018-04-08 Thread Robert Jarzmik
Bartosz Golaszewski writes: > 2018-04-04 21:44 GMT+02:00 Robert Jarzmik : >> Bartosz Golaszewski writes: > Yes, it does use the type field from i2c_board_info implicitly over > i2c-core. The type field is copied over to client->name and then is > matched against the i2c ID table from which we ge

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

2018-04-05 Thread Bartosz Golaszewski
2018-04-04 21:44 GMT+02:00 Robert Jarzmik : > Bartosz Golaszewski 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 >> signi

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

2018-04-04 Thread Robert Jarzmik
Bartosz Golaszewski 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. > >

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

2018-04-04 Thread Jonathan Cameron
On 4 April 2018 12:47:06 BST, Bartosz Golaszewski wrote: >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 at2

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

2018-04-04 Thread Bartosz Golaszewski
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 a