mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
extcon: Remove deprecated extcon_set/get_cable_state_()
The commit 575c2b867e
("extcon: Rename the extcon_set/get_state()
to maintain the function naming pattern") renames the extcon function as
following: But, the extcon just keeps the old API to prevent the build error.
This patch removes the deprecatd extcon API.
- extcon_get_cable_state_() -> extcon_get_state()
- extcon_set_cable_state_() -> extcon_set_state_sync()
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
This commit is contained in:
parent
ee61371127
commit
808ae8f3c7
1 changed files with 0 additions and 11 deletions
|
@ -422,15 +422,4 @@ static inline int extcon_unregister_interest(struct extcon_specific_cable_nb
|
|||
{
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
static inline int extcon_get_cable_state_(struct extcon_dev *edev, unsigned int id)
|
||||
{
|
||||
return extcon_get_state(edev, id);
|
||||
}
|
||||
|
||||
static inline int extcon_set_cable_state_(struct extcon_dev *edev, unsigned int id,
|
||||
bool cable_state)
|
||||
{
|
||||
return extcon_set_state_sync(edev, id, cable_state);
|
||||
}
|
||||
#endif /* __LINUX_EXTCON_H__ */
|
||||
|
|
Loading…
Reference in a new issue