mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-17 10:59:31 +00:00
I moved a large part of the proc and sysctl call-back functions into sensors.c. The result saved about 100 lines in lm78.c; it now uses only 2 pages according to lsmod, instead of 3! Also, other modules can use the same functions, saving coding efforts and keeping them small. I also fixed a fan_div display error. Expect more code to be moved to sensors.c: I am writing lm75.c, and most things which are in both modules (and so probably general purpose) will be moved to sensors.c. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@28 7894878c-1315-0410-8ee3-d5d059ff63e0