Speaker
Rui Zhang
Description
To register a thermal zone device, the number of parameters required has been increase from 4 when it is first introduced to 8, and people are still willing to add more.
This is hard to maintain because every time a new parameter is needed, either a new wrapper is added, or all the current thermal zone drivers need to be updated.
Plus, there is already a structure, aka “struct thermal_zone_params”, available, and it has already been used for registration time configuration.
Here, I propose to use one structure for registration phase configuration, or combine with the existing struct thermal_zone_params for better maintenance.
I agree to abide by the anti-harassment policy | Yes |
---|
Primary author
Rui Zhang