summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-25 15:25:58 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-25 15:25:58 +0300
commitb83f68776b0493bd049b77ce8004e9efdd21d2e8 (patch)
treec8d8bc1e3587cbc11d84daa61396a5847e2860a8 /include/linux
parent821747386cb6cd75593a8854208b8af188b4caed (diff)
parent9c94553099efb2ba873cbdddfd416a8a09d0e5f1 (diff)
downloadlinux-b83f68776b0493bd049b77ce8004e9efdd21d2e8.tar.xz
Merge tag 'extcon-next-for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon into char-misc-next
Chanwoo writes: Update extcon for 5.7 Detailed description for this pull request: 1. Update the extcon provider driver as following: - Add wakeup support for extcon-axp288.c - Clean-up code of -EPROBE_DEFER error case for extcon-palmas.c - Covert extcon-usbc-cros-ec.txt to yaml format 2. Export symbol of extcon_get_edev_name() * tag 'extcon-next-for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon: extcon: axp288: Add wakeup support extcon: Mark extcon_get_edev_name() function as exported symbol extcon: palmas: Hide error messages if gpio returns -EPROBE_DEFER dt-bindings: extcon: usbc-cros-ec: convert extcon-usbc-cros-ec.txt to yaml format
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/extcon.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/extcon.h b/include/linux/extcon.h
index 1b1d77ec2114..fd183fb9c20f 100644
--- a/include/linux/extcon.h
+++ b/include/linux/extcon.h
@@ -286,6 +286,11 @@ static inline struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev,
{
return ERR_PTR(-ENODEV);
}
+
+static inline const char *extcon_get_edev_name(struct extcon_dev *edev)
+{
+ return NULL;
+}
#endif /* CONFIG_EXTCON */
/*