projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
extcon: Fix extcon_get_extcon_dev() error handling
[platform/kernel/linux-rpi.git]
/
include
/
linux
/
extcon.h
diff --git
a/include/linux/extcon.h
b/include/linux/extcon.h
index
0c19010
..
685401d
100644
(file)
--- a/
include/linux/extcon.h
+++ b/
include/linux/extcon.h
@@
-296,7
+296,7
@@
static inline void devm_extcon_unregister_notifier_all(struct device *dev,
static inline struct extcon_dev *extcon_get_extcon_dev(const char *extcon_name)
{
- return
ERR_PTR(-ENODEV)
;
+ return
NULL
;
}
static inline struct extcon_dev *extcon_find_edev_by_node(struct device_node *node)