extcon: Remove the deprecated extcon functions
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 31 May 2016 08:32:30 +0000 (17:32 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 10 Jun 2016 02:12:50 +0000 (11:12 +0900)
commit830ae442202e314c2bdf7cb4c7cc64d76db0e197
tree10aeebf713a640a274f8338ab5e202cb1a7f79f3
parentb396cff519da6ab9094d5d9cd95e2849701ef9de
extcon: Remove the deprecated extcon functions

This patch removes the deprecated extcon functions using string type
to identify the type of external connector. The Commit 2a9de9c0f08d61
("extcon: Use the unique id for external connector instead of string)
uses the unique id to separate the type of external connector instead of
string name.
- extcon_register_interest()
- extcon_unregister_interest()
- extcon_set_cable_state()
- extcon_get_cable_state()

And, extcon_register_interest() finds the first extcon device to include the
requested external connector from extcon client device and then register the
notifier if extcon device argument is NULL. Instead, extcon_register_notifier()
supports this feature.

But, this patch remains the deprecatd function definition to prevent
the build break.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon.c
include/linux/extcon.h
This page took 0.027131 seconds and 5 git commands to generate.