[PATCH 01/15] drivers: thermal: tsens: Get rid of id field in tsens_sensor

2019-10-16 Thread Amit Kucheria
There are two fields - id and hw_id - to track what sensor an action was to performed on. This was because the sensors connected to a TSENS IP might not be contiguous i.e. 1, 2, 4, 5 with 3 being skipped. This causes confusion in the code which uses hw_id sometimes and id other times (tsens_get_te

Re: [PATCH 01/15] drivers: thermal: tsens: Get rid of id field in tsens_sensor

2019-08-19 Thread Daniel Lezcano
On 26/07/2019 00:18, Amit Kucheria wrote: > There are two fields - id and hw_id - to track what sensor an action was > to performed on. This was because the sensors connected to a TSENS IP > might not be contiguous i.e. 1, 2, 4, 5 with 3 being skipped. > > This causes confusion in the code which u

Re: [PATCH 01/15] drivers: thermal: tsens: Get rid of id field in tsens_sensor

2019-08-16 Thread Stephen Boyd
Quoting Amit Kucheria (2019-07-25 15:18:36) > There are two fields - id and hw_id - to track what sensor an action was > to performed on. This was because the sensors connected to a TSENS IP > might not be contiguous i.e. 1, 2, 4, 5 with 3 being skipped. > > This causes confusion in the code which

[PATCH 01/15] drivers: thermal: tsens: Get rid of id field in tsens_sensor

2019-07-25 Thread Amit Kucheria
There are two fields - id and hw_id - to track what sensor an action was to performed on. This was because the sensors connected to a TSENS IP might not be contiguous i.e. 1, 2, 4, 5 with 3 being skipped. This causes confusion in the code which uses hw_id sometimes and id other times (tsens_get_te