Re: [PATCH v2 1/2] platform/x86/drivers/acerhdf: Use module_param_cb to set/get polling interval

2020-12-03 Thread Peter Kästle
3. Dezember 2020 08:17, "Daniel Lezcano" schrieb: > The module parameter can be set by using ops to get and set the > values. The change will allow to check the correctness of the interval > value everytime it is changed instead of checking in the get_temp > function. > > Signed-off-by: Daniel

[PATCH v2 1/2] platform/x86/drivers/acerhdf: Use module_param_cb to set/get polling interval

2020-12-02 Thread Daniel Lezcano
The module parameter can be set by using ops to get and set the values. The change will allow to check the correctness of the interval value everytime it is changed instead of checking in the get_temp function. Signed-off-by: Daniel Lezcano --- drivers/platform/x86/acerhdf.c | 10 -- 1