hwmon: (fam15h_power) Add max compute unit accumulated power
authorHuang Rui <ray.huang@amd.com>
Fri, 30 Oct 2015 09:56:57 +0000 (17:56 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 31 Oct 2015 22:43:41 +0000 (15:43 -0700)
commit3b5ea47dbff0c934b7b979bcc772427a2404ed3d
tree9d07f8fd9830c53d74b29f7beb51749ca715173f
parent46f29c2b494600cd326b84f87f5765e80fffface
hwmon: (fam15h_power) Add max compute unit accumulated power

This patch adds a member in fam15h_power_data which specifies the
maximum accumulated power in a compute unit.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/fam15h_power.c