Re: [PATCHv4 07/48] thermal: core: move passive attr to tz->device.groups

2016-06-15 Thread Zhang Rui
On 四, 2016-06-16 at 11:27 +0800, Zhang Rui wrote: > On 一, 2016-05-30 at 23:18 -0700, Eduardo Valentin wrote: > > > > This patch moves the passive attribute to tz->device.groups. Moving > > the > > passive attribute also requires a .is_visible() callback > > implementation > > for its attribute

Re: [PATCHv4 07/48] thermal: core: move passive attr to tz->device.groups

2016-06-15 Thread Zhang Rui
On 四, 2016-06-16 at 11:27 +0800, Zhang Rui wrote: > On 一, 2016-05-30 at 23:18 -0700, Eduardo Valentin wrote: > > > > This patch moves the passive attribute to tz->device.groups. Moving > > the > > passive attribute also requires a .is_visible() callback > > implementation > > for its attribute

Re: [PATCHv4 07/48] thermal: core: move passive attr to tz->device.groups

2016-06-15 Thread Zhang Rui
On 一, 2016-05-30 at 23:18 -0700, Eduardo Valentin wrote: > This patch moves the passive attribute to tz->device.groups. Moving > the > passive attribute also requires a .is_visible() callback > implementation > for its attribute group. > > The logic behind the visibility of passive attribute is

Re: [PATCHv4 07/48] thermal: core: move passive attr to tz->device.groups

2016-06-15 Thread Zhang Rui
On 一, 2016-05-30 at 23:18 -0700, Eduardo Valentin wrote: > This patch moves the passive attribute to tz->device.groups. Moving > the > passive attribute also requires a .is_visible() callback > implementation > for its attribute group. > > The logic behind the visibility of passive attribute is

[PATCHv4 07/48] thermal: core: move passive attr to tz->device.groups

2016-05-31 Thread Eduardo Valentin
This patch moves the passive attribute to tz->device.groups. Moving the passive attribute also requires a .is_visible() callback implementation for its attribute group. The logic behind the visibility of passive attribute is kept the same. We only expose the passive attribute if the thermal

[PATCHv4 07/48] thermal: core: move passive attr to tz->device.groups

2016-05-31 Thread Eduardo Valentin
This patch moves the passive attribute to tz->device.groups. Moving the passive attribute also requires a .is_visible() callback implementation for its attribute group. The logic behind the visibility of passive attribute is kept the same. We only expose the passive attribute if the thermal