git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i2c: Drop the kind parameter from detect callbacks
[safe/jmp/linux-2.6]
/
drivers
/
hwmon
/
pcf8591.c
diff --git
a/drivers/hwmon/pcf8591.c
b/drivers/hwmon/pcf8591.c
index
1d7ffeb
..
4355aad
100644
(file)
--- a/
drivers/hwmon/pcf8591.c
+++ b/
drivers/hwmon/pcf8591.c
@@
-169,7
+169,7
@@
static const struct attribute_group pcf8591_attr_group_opt = {
*/
/* Return 0 if detection is successful, -ENODEV otherwise */
*/
/* Return 0 if detection is successful, -ENODEV otherwise */
-static int pcf8591_detect(struct i2c_client *client,
int kind,
+static int pcf8591_detect(struct i2c_client *client,
struct i2c_board_info *info)
{
struct i2c_adapter *adapter = client->adapter;
struct i2c_board_info *info)
{
struct i2c_adapter *adapter = client->adapter;