projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hwmon: VRM is not read from registers
[linux-2.6-block.git]
/
drivers
/
hwmon
/
it87.c
diff --git
a/drivers/hwmon/it87.c
b/drivers/hwmon/it87.c
index cd741b79c17874c9beac60707ba75158f5ed20f8..6a182e14cf589d59f7a5d8e244b8aa9c34c0409d 100644
(file)
--- a/
drivers/hwmon/it87.c
+++ b/
drivers/hwmon/it87.c
@@
-765,7
+765,7
@@
static DEVICE_ATTR(alarms, S_IRUGO, show_alarms, NULL);
static ssize_t
show_vrm_reg(struct device *dev, struct device_attribute *attr, char *buf)
{
- struct it87_data *data =
it87_update_device
(dev);
+ struct it87_data *data =
dev_get_drvdata
(dev);
return sprintf(buf, "%u\n", data->vrm);
}
static ssize_t