X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=drivers%2Fhwmon%2Fit87.c;h=6a182e14cf589d59f7a5d8e244b8aa9c34c0409d;hb=fa6a1a554b50cbb7763f6907e6fef927ead480d9;hp=cd741b79c17874c9beac60707ba75158f5ed20f8;hpb=c7f1f7166a83f8f5607cc03c7a6c5f936cde6b0d;p=linux-2.6-omap-h63xx.git diff --git a/drivers/hwmon/it87.c b/drivers/hwmon/it87.c index cd741b79c17..6a182e14cf5 100644 --- 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