]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (fam15h_power) Add platform check function
authorHuang Rui <ray.huang@amd.com>
Wed, 6 Apr 2016 07:44:15 +0000 (15:44 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 19 Apr 2016 13:32:35 +0000 (06:32 -0700)
commit253ca90d13c2ca3a8555670c339cca98765fcb7c
tree87a7544d026dba96ddb9663ff72df8f86d82e42b
parent34aab2ef92350c76f30f58e1eecfe295be7362ed
hwmon: (fam15h_power) Add platform check function

This patch adds a platform check function to make code more readable.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/fam15h_power.c