Loading drivers/extcon/extcon.c +1 −0 Original line number Diff line number Diff line Loading @@ -1406,6 +1406,7 @@ const char *extcon_get_edev_name(struct extcon_dev *edev) { return !edev ? NULL : edev->name; } EXPORT_SYMBOL_GPL(extcon_get_edev_name); static int __init extcon_class_init(void) { Loading include/linux/extcon.h +5 −0 Original line number Diff line number Diff line Loading @@ -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 */ /* Loading Loading
drivers/extcon/extcon.c +1 −0 Original line number Diff line number Diff line Loading @@ -1406,6 +1406,7 @@ const char *extcon_get_edev_name(struct extcon_dev *edev) { return !edev ? NULL : edev->name; } EXPORT_SYMBOL_GPL(extcon_get_edev_name); static int __init extcon_class_init(void) { Loading
include/linux/extcon.h +5 −0 Original line number Diff line number Diff line Loading @@ -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 */ /* Loading