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
[PATCH] hwmon: hwmon vs i2c, second round (04/11)
[pandora-kernel.git]
/
drivers
/
hwmon
/
fscpos.c
diff --git
a/drivers/hwmon/fscpos.c
b/drivers/hwmon/fscpos.c
index
489870a
..
edc84f2
100644
(file)
--- a/
drivers/hwmon/fscpos.c
+++ b/
drivers/hwmon/fscpos.c
@@
-436,7
+436,7
@@
static int fscpos_attach_adapter(struct i2c_adapter *adapter)
{
if (!(adapter->class & I2C_CLASS_HWMON))
return 0;
- return i2c_
detect
(adapter, &addr_data, fscpos_detect);
+ return i2c_
probe
(adapter, &addr_data, fscpos_detect);
}
int fscpos_detect(struct i2c_adapter *adapter, int address, int kind)