diff options
author | 2017-03-22 19:17:49 +0900 | |
---|---|---|
committer | 2017-08-16 09:21:49 +0900 | |
commit | 808ae8f3c7fefef3aece08820c108b68cdb06e1e (patch) | |
tree | 3fdddf51582ec8b45b4d25f921e50cf59f3c99a8 /include/linux/extcon.h | |
parent | usb: gadget: udc: Replace the deprecated extcon API (diff) | |
download | linux-808ae8f3c7fefef3aece08820c108b68cdb06e1e.tar.gz linux-808ae8f3c7fefef3aece08820c108b68cdb06e1e.tar.bz2 linux-808ae8f3c7fefef3aece08820c108b68cdb06e1e.zip |
extcon: Remove deprecated extcon_set/get_cable_state_()
The commit 575c2b867ee0 ("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>
Diffstat (limited to 'include/linux/extcon.h')
-rw-r--r-- | include/linux/extcon.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/extcon.h b/include/linux/extcon.h index 7e206a9f88db..3ba02eecba2e 100644 --- a/include/linux/extcon.h +++ b/include/linux/extcon.h @@ -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__ */ |