extcon: Remove unused inline functions
authorYueHaibing <yuehaibing@huawei.com>
Thu, 20 Jul 2023 14:37:12 +0000 (22:37 +0800)
committerChanwoo Choi <cw00.choi@samsung.com>
Sun, 23 Jul 2023 19:39:16 +0000 (04:39 +0900)
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>
include/linux/extcon.h

index 3c45c38..e596a0a 100644 (file)
@@ -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__ */