]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (lm90) Use enums for the indexes of temp8 and temp11
authorWei Ni <wni@nvidia.com>
Fri, 15 Nov 2013 09:40:39 +0000 (10:40 +0100)
committerJean Delvare <khali@endymion.delvare>
Fri, 15 Nov 2013 09:40:39 +0000 (10:40 +0100)
commit40465d9424453aa499ea91114d94b52ef8f75d61
treec6485097c1d774aeb83dd8fe7f008d0a34318439
parent109b1283fb532ac773a076748ffccf76a7067cab
hwmon: (lm90) Use enums for the indexes of temp8 and temp11

Using enums for the indexes and nrs of temp8 and temp11.
This make the code much more readable.

Signed-off-by: Wei Ni <wni@nvidia.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/lm90.c