23.10.2020 13:26, Chanwoo Choi пишет:
> @@ -909,6 +915,8 @@ struct devfreq *devfreq_add_device(struct device *dev,
>               goto err_init;
>       }
>  
> +     create_sysfs_files(devfreq, governor);
> +
>       devfreq->governor = governor;
>       err = devfreq->governor->event_handler(devfreq, DEVFREQ_GOV_START,
>                                               NULL);

Shouldn't sysfs be created *after* GOV_START? This is inconsistent with
governor_store().

Reply via email to