mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-03 13:38:25 +00:00
Clarified the conversion policy after John Morris' question.
Original text by Mark M. Hoffman. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1980 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
96045bea38
commit
f24d73e83b
1 file changed
+5
-3
@@ -38,9 +38,11 @@ If you wish to write a driver for 2.5 only, email us for information.
|
||||
Usually, we make all prefixes start with the driver name. This is not
|
||||
really necessary, as these symbols will not be exported anyway. But by
|
||||
doing this, you are sure you do not shadow any global kernel names.
|
||||
Remember that you want to output the direct measurements done by the
|
||||
chip. If these sensor values need scaling, this should be done through
|
||||
the configuration file.
|
||||
|
||||
* A quick note about conversions. The conversions which are specified
|
||||
in the sensor chip datasheet and which *cannot* vary from one board to
|
||||
the next are performed by the driver. If other conversions are
|
||||
necessary, they are performed in user-space.
|
||||
|
||||
* Meet Kernel coding standards.
|
||||
See Documentation/CodingStyle in the kernel source.
|
||||
|
||||
Reference in new issue
Block a user