projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72a87a4
)
hwmon: (ina2xx) remove an unnecessary dev_get_drvdata() result check
author
Bartosz Golaszewski
<bgolaszewski@baylibre.com>
Mon, 12 Jan 2015 13:47:21 +0000
(14:47 +0100)
committer
Guenter Roeck
<linux@roeck-us.net>
Mon, 26 Jan 2015 05:23:59 +0000
(21:23 -0800)
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ina2xx.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/ina2xx.c
b/drivers/hwmon/ina2xx.c
index
a16d6a2
..
ae110c5
100644
(file)
--- a/
drivers/hwmon/ina2xx.c
+++ b/
drivers/hwmon/ina2xx.c
@@
-370,9
+370,6
@@
static ssize_t ina226_set_interval(struct device *dev,
unsigned long val;
int status;
- if (IS_ERR(data))
- return PTR_ERR(data);
-
status = kstrtoul(buf, 10, &val);
if (status < 0)
return status;