hwmon: (fam15h_power) Add bit masking for tdp_limit
authorGioh Kim <gi-oh.kim@profitbricks.com>
Wed, 27 Jan 2016 11:02:09 +0000 (12:02 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 28 Jan 2016 02:48:46 +0000 (18:48 -0800)
commit60dee3ca27b3613e6519df52d02eadf71f853859
treed5e2eebed02e636b352933a3e7f8b9f4d1bd0c7c
parent6220f4ebd7b4db499238c2dc91268a9c473fd01c
hwmon: (fam15h_power) Add bit masking for tdp_limit

Add bit masking to read ApmTdpLimit precisely

Signed-off-by: Gioh Kim <gi-oh.kim@profitbricks.com>
Acked-by: Borislav Petkov <bp@suse.de>
Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/fam15h_power.c