From: Nate Case Date: Fri, 17 Oct 2008 15:51:10 +0000 (+0200) Subject: hwmon: (lm90) Convert some macros to static functions X-Git-Tag: v2.6.28-rc1~259^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cea50fe2fdea36174aa24b58c69c4eb9770e7c49;p=pandora-kernel.git 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 Signed-off-by: Jean Delvare Tested-by: Martyn Welch --- Reading git-diff-tree failed