diff options
Diffstat (limited to 'drivers/hwmon/smsc47m192.c')
-rw-r--r-- | drivers/hwmon/smsc47m192.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/smsc47m192.c b/drivers/hwmon/smsc47m192.c index 0efcd27b2523..b87552652588 100644 --- a/drivers/hwmon/smsc47m192.c +++ b/drivers/hwmon/smsc47m192.c | |||
@@ -334,7 +334,7 @@ static DEVICE_ATTR(cpu0_vid, S_IRUGO, show_vid, NULL); | |||
334 | static ssize_t show_vrm(struct device *dev, struct device_attribute *attr, | 334 | static ssize_t show_vrm(struct device *dev, struct device_attribute *attr, |
335 | char *buf) | 335 | char *buf) |
336 | { | 336 | { |
337 | struct smsc47m192_data *data = smsc47m192_update_device(dev); | 337 | struct smsc47m192_data *data = dev_get_drvdata(dev); |
338 | return sprintf(buf, "%d\n", data->vrm); | 338 | return sprintf(buf, "%d\n", data->vrm); |
339 | } | 339 | } |
340 | 340 | ||