On 10/19/20 1:11 PM, Chanwoo Choi wrote:
> On 10/19/20 9:39 AM, Dmitry Osipenko wrote:
>> ...
>>> @@ -1361,6 +1373,9 @@ static ssize_t governor_store(struct device *dev,
>>> struct device_attribute *attr,
>>> goto out;
>>> }
>>>
>>> + remove_sysfs_files(df, df->governor);
>>> +
On 10/19/20 9:39 AM, Dmitry Osipenko wrote:
> ...
>> @@ -1361,6 +1373,9 @@ static ssize_t governor_store(struct device *dev,
>> struct device_attribute *attr,
>> goto out;
>> }
>>
>> +remove_sysfs_files(df, df->governor);
>> +create_sysfs_files(df, governor);
>> +
>>
On 10/19/20 9:38 AM, Dmitry Osipenko wrote:
> ...
>> diff --git a/Documentation/ABI/testing/sysfs-class-devfreq
>> b/Documentation/ABI/testing/sysfs-class-devfreq
>> index deefffb3bbe4..67af3f31e17c 100644
>> --- a/Documentation/ABI/testing/sysfs-class-devfreq
>> +++ b/Documentation/ABI/testing/sy
...
> @@ -1361,6 +1373,9 @@ static ssize_t governor_store(struct device *dev,
> struct device_attribute *attr,
> goto out;
> }
>
> + remove_sysfs_files(df, df->governor);
> + create_sysfs_files(df, governor);
> +
> prev_governor = df->governor;
> df->gover
...
> diff --git a/Documentation/ABI/testing/sysfs-class-devfreq
> b/Documentation/ABI/testing/sysfs-class-devfreq
> index deefffb3bbe4..67af3f31e17c 100644
> --- a/Documentation/ABI/testing/sysfs-class-devfreq
> +++ b/Documentation/ABI/testing/sysfs-class-devfreq
> @@ -37,20 +37,6 @@ Description:
DEVFREQ supports the default governors like performance, simple_ondemand and
also allows the devfreq driver to add their own governor like tegra30-devfreq.c
according to their requirement. In result, some sysfs attributes are useful
or not useful. Prior to that the user can access all sysfs attribu
6 matches
Mail list logo