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)
commit1d28e01628aebab8fe403e7e9d0760f3787763d5
tree87a7544d026dba96ddb9663ff72df8f86d82e42b
parenta6e232f78698953e6fd9c2f4c95e16d5f5f9d0c3
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