summaryrefslogtreecommitdiff
path: root/include/linux/extcon.h
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2023-07-20 17:37:12 +0300
committerChanwoo Choi <cw00.choi@samsung.com>2023-07-23 22:39:16 +0300
commit52e4e2878236823ac3ba4d6033d81e8c389745fd (patch)
tree09e56936c1e2ea3525cfd167e2c7adf05e18a471 /include/linux/extcon.h
parentfdf0eaf11452d72945af31804e2a1048ee1b574c (diff)
downloadlinux-52e4e2878236823ac3ba4d6033d81e8c389745fd.tar.xz
extcon: Remove unused inline functions
commit 830ae442202e ("extcon: Remove the deprecated extcon functions") left behind this. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'include/linux/extcon.h')
-rw-r--r--include/linux/extcon.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/extcon.h b/include/linux/extcon.h
index 3c45c3846fe9..e596a0abcb27 100644
--- a/include/linux/extcon.h
+++ b/include/linux/extcon.h
@@ -328,16 +328,4 @@ struct extcon_specific_cable_nb {
struct extcon_dev *edev;
unsigned long previous_value;
};
-
-static inline int extcon_register_interest(struct extcon_specific_cable_nb *obj,
- const char *extcon_name, const char *cable_name,
- struct notifier_block *nb)
-{
- return -EINVAL;
-}
-
-static inline int extcon_unregister_interest(struct extcon_specific_cable_nb *obj)
-{
- return -EINVAL;
-}
#endif /* __LINUX_EXTCON_H__ */