extcon: Remove unused inline functions
PATCH 1/1 extcon: Remove unused inline functions
commit 830ae442202e ("extcon: Remove the deprecated extcon functions") left behind this.
Signed-off-by YueHaibing <[email protected]>
--- include/linux/extcon.h | 12 ------------ 1 file changed, 12 deletions(-)
include/linux/extcon.h +0 -12
@@ -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__ */
Signature · 1 line
2.34.1
Chanwoo Choi
AppliedQuoted 19 lines · YueHaibing
commit
830ae442202e("extcon: Remove the deprecated extcon functions") left behind this.Signed-off-by YueHaibing <[email protected]>--- include/linux/extcon.h | 12 ------------ 1 file changed, 12 deletions(-)include/linux/extcon.h +0
-3@@ -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,
include/linux/extcon.h struct extcon_specific_cable_nb { · line 331
Quoted 10 lines
include/linux/extcon.h +0
-9- struct notifier_block *nb) -{ -return -EINVAL ; -} - -static inline int extcon_unregister_interest (struct extcon_specific_cable_nb *obj) -{ -return -EINVAL ; -}#endif /* __LINUX_EXTCON_H__ */
Applied it. Thanks.
Signature · 3 lines
Best Regards, Samsung Electronics Chanwoo Choi