projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'reset-fixes-for-v5.2' of git://git.pengutronix.de/git/pza/linux into arm...
[linux-2.6-microblaze.git]
/
drivers
/
reset
/
core.c
diff --git
a/drivers/reset/core.c
b/drivers/reset/core.c
index
21b9bd5
..
213ff40
100644
(file)
--- a/
drivers/reset/core.c
+++ b/
drivers/reset/core.c
@@
-690,9
+690,6
@@
__reset_control_get_from_lookup(struct device *dev, const char *con_id,
const char *dev_id = dev_name(dev);
struct reset_control *rstc = NULL;
- if (!dev)
- return ERR_PTR(-EINVAL);
-
mutex_lock(&reset_lookup_mutex);
list_for_each_entry(lookup, &reset_lookup_list, list) {