Message ID | 1484570222-30522-7-git-send-email-cw00.choi@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0476B6020B for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 16 Jan 2017 12:38:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DD511281F9 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 16 Jan 2017 12:38:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D20E52824F; Mon, 16 Jan 2017 12:38:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6F175281F9 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 16 Jan 2017 12:38:05 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cT6Xx-0007GE-Mt; Mon, 16 Jan 2017 12:38:01 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cT6Xa-0006gg-GQ for linux-arm-kernel@lists.infradead.org; Mon, 16 Jan 2017 12:37:40 +0000 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OJV02G4DHQ2AZ00@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 16 Jan 2017 21:37:14 +0900 (KST) Received: from epsmges1p2.samsung.com (unknown [182.195.40.65]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20170116123714epcas1p30ec5956ab76ee97bc9b8328eec2f9a90~aQMM7xQ2H1355613556epcas1p3c; Mon, 16 Jan 2017 12:37:14 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 6A.FD.15578.A7EBC785; Mon, 16 Jan 2017 21:37:14 +0900 (KST) Received: from epcpsbgm1new.samsung.com (u26.gpu120.samsung.co.kr [203.254.230.26]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20170116123714epcas1p1cba810e4e99c9736682c025a274a99ea~aQMMsrstO1644816448epcas1p14; Mon, 16 Jan 2017 12:37:14 +0000 (GMT) X-AuditID: b6c32a36-f79d86d000003cda-7d-587cbe7a34d0 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id 68.BC.08931.A7EBC785; Mon, 16 Jan 2017 21:37:14 +0900 (KST) Received: from localhost.localdomain ([10.113.62.212]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OJV00E5AHQ1PE30@mmp1.samsung.com>; Mon, 16 Jan 2017 21:37:13 +0900 (KST) From: Chanwoo Choi <cw00.choi@samsung.com> To: balbi@kernel.org, gregkh@linuxfoundation.org Subject: [PATCH v3 6/6] usb: renesas_usbhs: Replace the deprecated extcon API Date: Mon, 16 Jan 2017 21:37:02 +0900 Message-id: <1484570222-30522-7-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.0 In-reply-to: <1484570222-30522-1-git-send-email-cw00.choi@samsung.com> X-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t5qLiRACKOB+aUAMAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrFLMWRmVeSWpSXmKPExsVy+t9jAd2qfTURBlNOcloca3vCbjHxxhUW i+tfnrNaNC9ez2ax6fE1VovLu+awWSxa1srswO6xaVUnm8f+uWvYPTYvqffo27KK0ePzJrkA 1ig3m4zUxJTUIoXUvOT8lMy8dFul0BA3XQslhbzE3FRbpQhd35AgJYWyxJxSIM/IAA04OAe4 Byvp2yW4ZbT9b2cuOMde0XNhGXMD41a2LkZODgkBE4mns1ZC2WISF+6tB7K5OIQEljJKPD+6 hQXC+cEoMW/ZNBaQKjYBLYn9L24AVXFwiAgYSLTdEAOpYRaYzyix+8ILVpAaYQFfifl/vzOC 1LAIqErsb6kCCfMKuEpMPLscapmcxIc9j9hBSjgF3CSW97iChIWASlZ962WcwMi7gJFhFaNE akFyQXFSeq5hXmq5XnFibnFpXrpecn7uJkZwOD+T2sF4cJf7IUYBDkYlHt4FO6ojhFgTy4or cw8xSnAwK4nwuu+siRDiTUmsrEotyo8vKs1JLT7EaAp01kRmKdHkfGCs5ZXEG5qYm5gbG1iY W1qaGCmJ8zbOfhYuJJCeWJKanZpakFoE08fEwSnVwLhffoqss4LuyXj9WY8zyjw4NRa6TPin 53Quh/FKa95/UxE1taocSdPGir3Ly5Nijl7kfPh/FeNW9iP/Q+9bOK6sVkn80n9KYp/ztU0M JR9VXNTu+R3UsRAWc10Rtd55+tM5SeZmJpYdGs8N8k/v28u+lH3yA59VH8VmTpmTFRn5iq+E MTLQR4mlOCPRUIu5qDgRAKJs7At9AgAA X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170116123714epcas1p1cba810e4e99c9736682c025a274a99ea X-Msg-Generator: CA X-Sender-IP: 203.254.230.26 X-Local-Sender: =?UTF-8?B?7LWc7LCs7JqwG1RpemVuIFBsYXRmb3JtIExhYihTL1fshLw=?= =?UTF-8?B?7YSwKRvsgrzshLHsoITsnpAbUzUo7LGF7J6EKS9DaGFuZ2UgQWdlbnQ=?= X-Global-Sender: =?UTF-8?B?Q2hhbndvbyBDaG9pG1RpemVuIFBsYXRmb3JtIExhYi4bU2Ft?= =?UTF-8?B?c3VuZyBFbGVjdHJvbmljcxtTNS9TZW5pb3IgRW5naW5lZXI=?= X-Sender-Code: =?UTF-8?B?QzEwG1NUQUYbQzEwVjgxMTE=?= CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-HopCount: 7 X-CMS-RootMailID: 20170116123714epcas1p1cba810e4e99c9736682c025a274a99ea X-RootMTR: 20170116123714epcas1p1cba810e4e99c9736682c025a274a99ea References: <1484570222-30522-1-git-send-email-cw00.choi@samsung.com> <CGME20170116123714epcas1p1cba810e4e99c9736682c025a274a99ea@epcas1p1.samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170116_043738_696553_12B8EE2B X-CRM114-Status: GOOD ( 11.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Chanwoo Choi <cw00.choi@samsung.com>, chanwoo@kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/usb/renesas_usbhs/common.c b/drivers/usb/renesas_usbhs/common.c index 012a37aa3e0d..623c51300393 100644 --- a/drivers/usb/renesas_usbhs/common.c +++ b/drivers/usb/renesas_usbhs/common.c @@ -389,7 +389,7 @@ static void usbhsc_hotplug(struct usbhs_priv *priv) if (enable && !mod) { if (priv->edev) { - cable = extcon_get_cable_state_(priv->edev, EXTCON_USB_HOST); + cable = extcon_get_state(priv->edev, EXTCON_USB_HOST); if ((cable > 0 && id != USBHS_HOST) || (!cable && id != USBHS_GADGET)) { dev_info(&pdev->dev,