mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 08:03:01 +09:00
extcon: Remove unused inline functions
commit 830ae44220 ("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>
This commit is contained in:
@@ -328,16 +328,4 @@ struct extcon_specific_cable_nb {
|
|||||||
struct extcon_dev *edev;
|
struct extcon_dev *edev;
|
||||||
unsigned long previous_value;
|
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__ */
|
#endif /* __LINUX_EXTCON_H__ */
|
||||||
|
|||||||
Reference in New Issue
Block a user