Message ID | 1483070895-8213-7-git-send-email-cw00.choi@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-omap-owner@kernel.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 D827D62ABB for <patchwork-linux-omap@patchwork.kernel.org>; Fri, 30 Dec 2016 04:10:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C39731FFD6 for <patchwork-linux-omap@patchwork.kernel.org>; Fri, 30 Dec 2016 04:10:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B84F325D9E; Fri, 30 Dec 2016 04:10:02 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 13CD3200F5 for <patchwork-linux-omap@patchwork.kernel.org>; Fri, 30 Dec 2016 04:10:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753699AbcL3EJ6 (ORCPT <rfc822;patchwork-linux-omap@patchwork.kernel.org>); Thu, 29 Dec 2016 23:09:58 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:58057 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753387AbcL3EIV (ORCPT <rfc822; linux-omap@vger.kernel.org>); Thu, 29 Dec 2016 23:08:21 -0500 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OIZ02BMNCTUDLE0@mailout1.samsung.com>; Fri, 30 Dec 2016 13:08:18 +0900 (KST) Received: from epsmges5p1.samsung.com (unknown [182.195.40.66]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20161230040818epcas1p23f17f7886a29bc3e17d0f00e7ebf33f8~U7R-fhk3j2555425554epcas1p2D; Fri, 30 Dec 2016 04:08:18 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p1.samsung.com (EPCPMTA) with SMTP id BD.CF.31243.1BDD5685; Fri, 30 Dec 2016 13:08:18 +0900 (KST) Received: from epcpsbgm2new.samsung.com (u27.gpu120.samsung.co.kr [203.254.230.27]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20161230040817epcas5p48322c725a69442bebf3a36b3ba069c33~U7R_bivKx1487714877epcas5p4p; Fri, 30 Dec 2016 04:08:17 +0000 (GMT) X-AuditID: b6c32a2c-f79ad6d000007a0b-92-5865ddb15396 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 29.A1.28332.1BDD5685; Fri, 30 Dec 2016 13:08:17 +0900 (KST) Received: from localhost.localdomain ([10.113.62.212]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OIZ0030ECTSVT80@mmp2.samsung.com>; Fri, 30 Dec 2016 13:08:16 +0900 (KST) From: Chanwoo Choi <cw00.choi@samsung.com> To: balbi@kernel.org, gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-omap@vger.kernel.org, linux-renesas-soc@vger.kernel.org, chanwoo@kernel.org, Chanwoo Choi <cw00.choi@samsung.com>, Rob Herring <robh@kernel.org>, Geert Uytterhoeven <geert+renesas@glider.be> Subject: [PATCH v2 6/6] usb: renesas_usbhs: Replace the deprecated extcon API Date: Fri, 30 Dec 2016 13:08:15 +0900 Message-id: <1483070895-8213-7-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.0 In-reply-to: <1483070895-8213-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrNKsWRmVeSWpSXmKPExsWy7bCmpu6mu6kRBjP/s1gca3vCbjHxxhUW i+tfnrNazJ09idGiefF6NovLu+awWcxe0s9isfXlOyaLRctamS3+79nB7sDlMfGsrsemVZ1s HvvnrmH36NuyitHj8ya5ANaoVJuM1MSU1CKF1Lzk/JTMvHRbJe/geOd4UzMDQ11DSwtzJYW8 xNxUWyUXnwBdt8wcoKOUFMoSc0qBQgGJxcVK+nY2RfmlJakKGfnFJbZK0YaGRnqGBuZ6RkZG eibGsVZGpkAlCakZd7/tZSlYzFFx7NYOpgbGBvYuRk4OCQETifXNy9kgbDGJC/fWA9lcHEIC SxklTp74yArhtDNJrN/czAzTMfdoM1RiDqPE+73nWEASQgI/GCVubZIBsdkEtCT2v7gBNIqD Q0TAQKLthhhImBlkUOO5UhBbWMBfovHsBkYQm0VAVWLa+2tgV/AKuEi8AQYyxC45iQ97HoFd yingKvFu2zmwvRIC7ewSSxfuYgeZLyEgK7HpANBt7ECmi0RbGUSnsMSr41ugfpSW+Lv0FiNE 52RGia61f5khnB5GicY1R6G+N5a4/+AeM8SdfBK9v58wQYznlehoE4Io8ZD4ef46C0TYUeL9 Hz1IKMxglPj2qYVpAqPMAkaGVYxiqQXFuempxaYFhnrFibnFpXnpesn5uZsYwQlJS2cH470F 3ocYBTgYlXh4F5SkRgixJpYVV+YeYpTgYFYS4S28DRTiTUmsrEotyo8vKs1JLT7EaAoMpYnM UqLJ+cBkmVcSb2hiZmhiZAmE5obmSuK8CyqsI4QE0hNLUrNTUwtSi2D6mDg4pRoYJz6/Jti3 ik3XdEJJohbPrBL++dE8XknpsRtPPXmjkNjGtyV3cd+i6wWVmtkOGdxTVzbuWH69+UnA2m0y u187Gc89XRZ2rTjerP/Vdce0o563avLn5ovX3UqcZstrOsPBLPjol1sRkyq5Ki5ZauxafnCb pDiXuUShmSz7HZOY7z8/Nx5Pvh+oxFKckWioxVxUnAgA9DpDZV4DAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrFLMWRmVeSWpSXmKPExsVy+t9jQd2Nd1MjDOZcFLQ41vaE3WLijSss Fte/PGe1mDt7EqNF8+L1bBaXd81hs5i9pJ/FYuvLd0wWi5a1Mlv837OD3YHLY+JZXY9NqzrZ PPbPXcPu0bdlFaPH501yAaxRbjYZqYkpqUUKqXnJ+SmZeem2SqEhbroWSgp5ibmptkoRur4h QUoKZYk5pUCekQEacHAOcA9W0rdLcMu4+20vS8Fijopjt3YwNTA2sHcxcnJICJhIzD3azAph i0lcuLeerYuRi0NIYBajxO83R1kgnB+MEt23vrCBVLEJaEnsf3EDyObgEBEwkGi7IQZSwyzQ ziSxfPtJVpC4sICvxL6pBiDlLAKqEtPeXwNr5RVwkXgz8z8LxDI5iQ97HoEdwSngKvFu2zmw I4SAapafOcM+gZF3ASPDKkaJ1ILkguKk9FyjvNRyveLE3OLSvHS95PzcTYzgcH8mvYPx8C73 Q4wCHIxKPLw/ylIjhFgTy4orcw8xSnAwK4nwFt4GCvGmJFZWpRblxxeV5qQWH2I0BTpsIrOU aHI+MBbzSuINTcxNzI0NLMwtLU2MlMR5G2c/CxcSSE8sSc1OTS1ILYLpY+LglGpgXNlz2kJ7 d5eL5yqZmWzXy7cHS/UINm/cJ1ohU3dI1aexzW7H5LzjEoacQXXlKunb3/f6ZSQyvfx96qJ6 nepN8Y0pGSveiskq3zeK8xb48u+SXKQuQ6XpQmbdx92sNiwc8/j3f+qYxpZZ6j5n/d5bSkbX KucG1b36Vbeh9tOj6umTWvsa//UrsRRnJBpqMRcVJwIAXmHwCY0CAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20161230040817epcas5p48322c725a69442bebf3a36b3ba069c33 X-Msg-Generator: CA X-Sender-IP: 203.254.230.27 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: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-HopCount: 7 X-CMS-RootMailID: 20161230040817epcas5p48322c725a69442bebf3a36b3ba069c33 X-RootMTR: 20161230040817epcas5p48322c725a69442bebf3a36b3ba069c33 References: <1483070895-8213-1-git-send-email-cw00.choi@samsung.com> <CGME20161230040817epcas5p48322c725a69442bebf3a36b3ba069c33@epcas5p4.samsung.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: <linux-omap.vger.kernel.org> X-Mailing-List: linux-omap@vger.kernel.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,