aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/w83627hf.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/w83627hf.c')
-rw-r--r--drivers/hwmon/w83627hf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/w83627hf.c b/drivers/hwmon/w83627hf.c
index b1943ec29c48..a2ccf93521c1 100644
--- a/drivers/hwmon/w83627hf.c
+++ b/drivers/hwmon/w83627hf.c
@@ -703,7 +703,7 @@ static DEVICE_ATTR(cpu0_vid, S_IRUGO, show_vid_reg, NULL);
703static ssize_t 703static ssize_t
704show_vrm_reg(struct device *dev, struct device_attribute *attr, char *buf) 704show_vrm_reg(struct device *dev, struct device_attribute *attr, char *buf)
705{ 705{
706 struct w83627hf_data *data = w83627hf_update_device(dev); 706 struct w83627hf_data *data = dev_get_drvdata(dev);
707 return sprintf(buf, "%ld\n", (long) data->vrm); 707 return sprintf(buf, "%ld\n", (long) data->vrm);
708} 708}
709static ssize_t 709static ssize_t