Commit 52e4e287 authored by YueHaibing's avatar YueHaibing Committed by Chanwoo Choi
Browse files

extcon: Remove unused inline functions



commit 830ae442 ("extcon: Remove the deprecated extcon functions")
left behind this.

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
parent fdf0eaf1
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -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__ */