]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb: mtu3: Replace the extcon API
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 28 Mar 2017 04:42:02 +0000 (13:42 +0900)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 11 Apr 2017 07:58:21 +0000 (10:58 +0300)
commita2cfed43386c697e0aad0d14439eb62042a18afc
tree0362019e4d2bbc6b03f78ba2da9122cfcecd0cec
parent387f869d2579e379ee343f5493dcd360be60f5c6
usb: mtu3: Replace the extcon API

This patch uses the resource-managed extcon API for extcon_register_notifier()
and replaces the deprecated extcon API as following:
- extcon_get_cable_state_() -> extcon_get_state()

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Chunfeng Yun <chunfeng.yun@mediatek.com>
Cc: linux-usb@vger.kernel.org
Tested-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Acked-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/mtu3/mtu3_dr.c