]> git.baikalelectronics.ru Git - kernel.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)
commit4dff485fdfd0061940bd36c0242cac7bbc0a28da
treec6485097c1d774aeb83dd8fe7f008d0a34318439
parentd11f687abf81d344c37ec664587f44be41f732fc
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