diff options
Diffstat (limited to 'drivers/hwmon/asb100.c')
-rw-r--r-- | drivers/hwmon/asb100.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/asb100.c b/drivers/hwmon/asb100.c index 745bf264bcfd..9460dba4cf74 100644 --- a/drivers/hwmon/asb100.c +++ b/drivers/hwmon/asb100.c | |||
@@ -514,7 +514,7 @@ static DEVICE_ATTR(cpu0_vid, S_IRUGO, show_vid, NULL); | |||
514 | /* VRM */ | 514 | /* VRM */ |
515 | static ssize_t show_vrm(struct device *dev, struct device_attribute *attr, char *buf) | 515 | static ssize_t show_vrm(struct device *dev, struct device_attribute *attr, char *buf) |
516 | { | 516 | { |
517 | struct asb100_data *data = asb100_update_device(dev); | 517 | struct asb100_data *data = dev_get_drvdata(dev); |
518 | return sprintf(buf, "%d\n", data->vrm); | 518 | return sprintf(buf, "%d\n", data->vrm); |
519 | } | 519 | } |
520 | 520 | ||