Re: [PATCH] thermal: int340x: check for sensor when PTYP is missing

2017-06-09 Thread Andy Shevchenko
On Sat, Jun 10, 2017 at 1:23 AM, Srinivas Pandruvada wrote: > On Wed, 2017-06-07 at 13:55 +0300, Andy Shevchenko wrote: >> On Wed, Jun 7, 2017 at 2:00 AM, Srinivas Pandruvada >> wrote: >> > This change checks for the presence of _TMP method and if present, >> > then >> > treats this device as a

Re: [PATCH] thermal: int340x: check for sensor when PTYP is missing

2017-06-09 Thread Srinivas Pandruvada
On Wed, 2017-06-07 at 13:55 +0300, Andy Shevchenko wrote: > On Wed, Jun 7, 2017 at 2:00 AM, Srinivas Pandruvada > wrote: > > > > For INT3403 sensor PTYP field is mandatory. But some platforms > > didn't > > have this field for sensors. This cause load failure for int3403 > > driver. > > > > This

Re: [PATCH] thermal: int340x: check for sensor when PTYP is missing

2017-06-07 Thread Andy Shevchenko
On Wed, Jun 7, 2017 at 2:00 AM, Srinivas Pandruvada wrote: > For INT3403 sensor PTYP field is mandatory. But some platforms didn't > have this field for sensors. This cause load failure for int3403 driver. > > This change checks for the presence of _TMP method and if present, then > treats this de

[PATCH] thermal: int340x: check for sensor when PTYP is missing

2017-06-06 Thread Srinivas Pandruvada
For INT3403 sensor PTYP field is mandatory. But some platforms didn't have this field for sensors. This cause load failure for int3403 driver. This change checks for the presence of _TMP method and if present, then treats this device as a sensor. Signed-off-by: Srinivas Pandruvada --- drivers/t