projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'v3.17-rockchip-fixes1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.git]
/
drivers
/
hwmon
/
ads1015.c
diff --git
a/drivers/hwmon/ads1015.c
b/drivers/hwmon/ads1015.c
index
22e0c92
..
1265164
100644
(file)
--- a/
drivers/hwmon/ads1015.c
+++ b/
drivers/hwmon/ads1015.c
@@
-212,6
+212,7
@@
static int ads1015_get_channels_config_of(struct i2c_client *client)
dev_err(&client->dev,
"invalid gain on %s\n",
node->full_name);
+ return -EINVAL;
}
}
@@
-222,6
+223,7
@@
static int ads1015_get_channels_config_of(struct i2c_client *client)
dev_err(&client->dev,
"invalid data_rate on %s\n",
node->full_name);
+ return -EINVAL;
}
}