Re: [PATCH v4 05/11] thermal: remove get_mode() operation of drivers

2020-06-24 Thread Bartlomiej Zolnierkiewicz
On 5/28/20 9:20 PM, Andrzej Pietrasiewicz wrote: > get_mode() is now redundant, as the state is stored in struct > thermal_zone_device. > > Consequently the "mode" attribute in sysfs can always be visible, because > it is always possible to get the mode from struct tzd. > > Signed-off-by: Andrz

Re: [PATCH v4 05/11] thermal: remove get_mode() operation of drivers

2020-06-02 Thread Guenter Roeck
On Thu, May 28, 2020 at 09:20:45PM +0200, Andrzej Pietrasiewicz wrote: > get_mode() is now redundant, as the state is stored in struct > thermal_zone_device. > > Consequently the "mode" attribute in sysfs can always be visible, because > it is always possible to get the mode from struct tzd. > >

Re: [PATCH v4 05/11] thermal: remove get_mode() operation of drivers

2020-06-01 Thread Peter Kästle
28. Mai 2020 21:21, "Andrzej Pietrasiewicz" schrieb: > get_mode() is now redundant, as the state is stored in struct > thermal_zone_device. > > Consequently the "mode" attribute in sysfs can always be visible, because > it is always possible to get the mode from struct tzd. > > Signed-off-by: A

Re: [PATCH v4 05/11] thermal: remove get_mode() operation of drivers

2020-05-29 Thread Guenter Roeck
On Thu, May 28, 2020 at 09:20:45PM +0200, Andrzej Pietrasiewicz wrote: > get_mode() is now redundant, as the state is stored in struct > thermal_zone_device. > > Consequently the "mode" attribute in sysfs can always be visible, because > it is always possible to get the mode from struct tzd. > >

Re: [PATCH v4 05/11] thermal: remove get_mode() operation of drivers

2020-05-29 Thread Andrzej Pietrasiewicz
Hi Guenter, W dniu 29.05.2020 o 17:49, Guenter Roeck pisze: On Thu, May 28, 2020 at 09:20:45PM +0200, Andrzej Pietrasiewicz wrote: get_mode() is now redundant, as the state is stored in struct thermal_zone_device. Consequently the "mode" attribute in sysfs can always be visible, because it is

Re: [PATCH v4 05/11] thermal: remove get_mode() operation of drivers

2020-05-29 Thread Guenter Roeck
On Thu, May 28, 2020 at 09:20:45PM +0200, Andrzej Pietrasiewicz wrote: > get_mode() is now redundant, as the state is stored in struct > thermal_zone_device. > > Consequently the "mode" attribute in sysfs can always be visible, because > it is always possible to get the mode from struct tzd. > >

[PATCH v4 05/11] thermal: remove get_mode() operation of drivers

2020-05-28 Thread Andrzej Pietrasiewicz
get_mode() is now redundant, as the state is stored in struct thermal_zone_device. Consequently the "mode" attribute in sysfs can always be visible, because it is always possible to get the mode from struct tzd. Signed-off-by: Andrzej Pietrasiewicz --- drivers/acpi/thermal.c