Re: [PATCH 2/4] iio: adc: ina2xx: Setup better name then simple ina2xx

2019-08-21 Thread Michal Simek
On 21. 08. 19 4:10, Phil Reid wrote: > On 20/08/2019 22:11, Michal Simek wrote: >> On systems with multiple ina2xx chips it is impossible to find out which >> iio device is which one based on probe order. That's why it is >> necessary to >> setup better name based on possition. >> The patch is

Re: [PATCH 2/4] iio: adc: ina2xx: Setup better name then simple ina2xx

2019-08-20 Thread Phil Reid
On 20/08/2019 22:11, Michal Simek wrote: On systems with multiple ina2xx chips it is impossible to find out which iio device is which one based on probe order. That's why it is necessary to setup better name based on possition. The patch is reusing dev_name which is setup by core with

[PATCH 2/4] iio: adc: ina2xx: Setup better name then simple ina2xx

2019-08-20 Thread Michal Simek
On systems with multiple ina2xx chips it is impossible to find out which iio device is which one based on probe order. That's why it is necessary to setup better name based on possition. The patch is reusing dev_name which is setup by core with client->name. name char array was setup to 128 byte