git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hwmon: w83627ehf updates
[pandora-kernel.git]
/
drivers
/
hwmon
/
s3c-hwmon.c
diff --git
a/drivers/hwmon/s3c-hwmon.c
b/drivers/hwmon/s3c-hwmon.c
index
7183541
..
3f3f9a4
100644
(file)
--- a/
drivers/hwmon/s3c-hwmon.c
+++ b/
drivers/hwmon/s3c-hwmon.c
@@
-323,7
+323,7
@@
static int __devinit s3c_hwmon_probe(struct platform_device *dev)
}
for (i = 0; i < ARRAY_SIZE(pdata->in); i++) {
}
for (i = 0; i < ARRAY_SIZE(pdata->in); i++) {
- struct s3c
24xx_adc_hwmon_in
cfg *cfg = pdata->in[i];
+ struct s3c
_hwmon_ch
cfg *cfg = pdata->in[i];
if (!cfg)
continue;
if (!cfg)
continue;
@@
-333,7
+333,7
@@
static int __devinit s3c_hwmon_probe(struct platform_device *dev)
"channel %d multiplier too large\n",
i);
"channel %d multiplier too large\n",
i);
- if (cfg->div
ider
== 0) {
+ if (cfg->div == 0) {
dev_err(&dev->dev, "channel %d divider zero\n", i);
continue;
}
dev_err(&dev->dev, "channel %d divider zero\n", i);
continue;
}