aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorKim, Milo <[email protected]>2012-08-31 09:24:28 +0000
committerAnton Vorontsov <[email protected]>2012-09-20 18:00:55 -0700
commitb1ad079680b24386d12aa99dd9afd4eb7093bbee (patch)
tree4e5abc11573948c8d7fdd7f4ad3a2e42bcda63ed /net/unix/af_unix.c
parent638555d2769b7dfb8654bae513cff295ea9a3837 (diff)
lp8727_charger: Fix code for getting battery temp
For better understanding, use specific function and definitions rather than magic numbers. New enum type for die temperature is matched with hex codes. Specific temperature names are better than 0x1, 0x2 and 0x3. And lp8727_is_high_temperature() function has better readability than comparing raw register values. Signed-off-by: Milo(Woogyom) Kim <[email protected]> Signed-off-by: Anton Vorontsov <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions