summaryrefslogtreecommitdiff
path: root/drivers/hwmon/w83781d.c
diff options
context:
space:
mode:
authorAravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>2014-09-16 14:58:04 -0500
committerGuenter Roeck <linux@roeck-us.net>2014-09-16 21:16:26 -0700
commit961a23788c3448eec7906bd74c64c01c54fba80e (patch)
tree082bdee6c1de3cfc7fccb22515ac6193aad82e10 /drivers/hwmon/w83781d.c
parent9e82bf014195d6f0054982c463575cdce24292be (diff)
hwmon: (fam15h_power) Make actual power reporting conditional
power1_input should only be reported for Fam15h, Models 00h-0fh So, introduce a is_visible function to take care of this. As suggested by Guenter here: http://marc.info/?l=linux-kernel&m=141038145616437&w=2 Suggested-by: Guenter Roeck <linux@roeck-us.net> Fixes: 22e32f4f5777 ('x86,AMD: Power driver support for AMD's family 16h processors') Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/w83781d.c')
0 files changed, 0 insertions, 0 deletions