zeule / asus-wmi-ec-sensors

Linux HWMON sensors driver for ASUS motherboards to get sensor readings from the embedded controller
7 stars 2 forks source link

Specify per-board sensors in a declarative way #4

Closed zeule closed 3 years ago

zeule commented 3 years ago

The switch in the fill_board_sensors() became too long and hardly readable. Insted of that make an array of per-board sensors. It is repetetive but much more readable.