summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2017-08-16 02:22:55 +0200
committerChanwoo Choi <cw00.choi@samsung.com>2017-08-16 02:22:55 +0200
commitae3614fda98c5dc2e34ed3145f933e11a339916a (patch)
tree8e22b980bdba1ea22659c4b759bd3229e3b3f4e4 /include
parentextcon: cros-ec: Fix a potential NULL pointer dereference (diff)
parentextcon: Remove deprecated extcon_set/get_cable_state_() (diff)
downloadlinux-ae3614fda98c5dc2e34ed3145f933e11a339916a.tar.xz
linux-ae3614fda98c5dc2e34ed3145f933e11a339916a.zip
Merge branch 'ib-extcon-usb-phy-4.14' into extcon-next
Diffstat (limited to 'include')
-rw-r--r--include/linux/extcon.h11
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__ */