mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-24 18:16:04 +00:00
hwmon: (gl520sm) Put register addresses in arrays
This allows for some code refactoring, making the binary slightly smaller. This is also required to use dynamic sysfs callbacks for voltage and temperature files. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
This commit is contained in:
parent
f28dc2f78b
commit
8b4b0ab41b
1 changed files with 40 additions and 64 deletions
Loading…
Add table
Add a link
Reference in a new issue