extcon: unregister compat link on cleanup
authorPeter Huewe <peterhuewe@gmx.de>
Mon, 24 Sep 2012 06:36:24 +0000 (15:36 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 23 Oct 2012 07:32:12 +0000 (16:32 +0900)
commit824a1bc045cef278aec15bef35d8d0b59ce77856
tree752b136da5bfdc0b4d3f20ab0119470f5f2fdd49
parent0dc77b6dabec8fd298392018cc0de5214af2dc43
extcon: unregister compat link on cleanup

Since extcon registers this compat link at device registration
(extcon_dev_register), we should probably remove them at deregistration/cleanup.

Cc: stable@vger.kernel.org
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-class.c