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>
This commit is contained in:
Huang Rui 2016-04-06 15:44:15 +08:00 • committed by Guenter Roeck
commit 1d28e01628