diff options
author | Nate Case <ncase@xes-inc.com> | 2008-10-17 17:51:10 +0200 |
---|---|---|
committer | Jean Delvare <khali@mahadeva.delvare> | 2008-10-17 17:51:10 +0200 |
commit | cea50fe2fdea36174aa24b58c69c4eb9770e7c49 (patch) | |
tree | 67cad283dc33aad4168a6ef7240c00c91c308edc /Documentation/hwmon | |
parent | a874a10cf0b7105ae5eeb98b4860eae0fc78fcdd (diff) | |
download | kernel_samsung_espresso10-cea50fe2fdea36174aa24b58c69c4eb9770e7c49.zip kernel_samsung_espresso10-cea50fe2fdea36174aa24b58c69c4eb9770e7c49.tar.gz kernel_samsung_espresso10-cea50fe2fdea36174aa24b58c69c4eb9770e7c49.tar.bz2 |
hwmon: (lm90) Convert some macros to static functions
Use static functions instead of the TEMPx_FROM_REG* and TEMPx_TO_REG*
macros. This will ensure type safety and eliminate any side effects
from arguments passed in since the macros referenced 'val' multiple
times. This change should not affect functionality.
Signed-off-by: Nate Case <ncase@xes-inc.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Tested-by: Martyn Welch <martyn.welch@gefanuc.com>
Diffstat (limited to 'Documentation/hwmon')
0 files changed, 0 insertions, 0 deletions