Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3973300imu; Mon, 12 Nov 2018 03:47:58 -0800 (PST) X-Google-Smtp-Source: AJdET5eUWyQpep4lu+/Hgg4+MPPwjuQv+7RPwagKQYnIKdIYcoCmPjEPS48qS8YlxqeQUQKCI1ii X-Received: by 2002:a62:f5da:: with SMTP id b87mr575007pfm.253.1542023278236; Mon, 12 Nov 2018 03:47:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542023278; cv=none; d=google.com; s=arc-20160816; b=XL115QpW+1XwRWIlVOseIU5jvu0J5SR/BqnKcj1xy64Ta0f6x2LcxpW9/I0Yp9hJaT /WCKIciLyEg5bt0xFGEQ43EltPfVnkiDW2Z349QO3UXGbkldGBa8WkiwtyzxpIg+K9wH ySnzauT20wBhjbcKNik2fgteOrSAM/mDCEYyF+yB89U009IQxxQMgYdnJ9szSbAxbYi/ ZDu+qjsg6ggiQlD/DFq2zYnBQBHXptsefiYeJLnG/LEKmOAyP0SGjdIbaVheun3hAHhY 0q8WRzxz9YqDtSrOVo4qtWzFo26lN591ctwElzXn3/UHQ/dSGFIf2Lwd7ZdSQzLfNdig iFaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=Jd++fLrOSjDan16GKpUZwxMKCwkGD0CPd69I5vZIauY=; b=fEwWytVL3kcPRPnBKxxwFkvHWp7ezna4usugOLoe+6UPvpDqz4EpxXdxk7YfEZD+Ie 5dq1qUcoSSLrPxF1L+J0j9mOKXCDHmM+UHbD/9fxt90Mt8btE0pMVqtSSbUIICqB4d+3 Yxd9YBLDVEtPi/5hSzQUue3xE2giuekUtf2gQOUE35JvCebDqnsbOCpO6SnRMk/V7ux0 2H9JyoLSzwjDCRXet14AquzeDXEX/PE1b39R2zXL/dUAvVeA1ObIXEp829LikCR0pvXf NKZwD41VeeXH9xTymBwD64s28mUNwQ83VoDrG7eojItfit7FmBpb5F0SwEqRox5QX5kE X53Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e31si15794152pge.270.2018.11.12.03.47.43; Mon, 12 Nov 2018 03:47:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729371AbeKLVkO (ORCPT + 99 others); Mon, 12 Nov 2018 16:40:14 -0500 Received: from mga01.intel.com ([192.55.52.88]:34764 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728302AbeKLVkO (ORCPT ); Mon, 12 Nov 2018 16:40:14 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Nov 2018 03:47:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,495,1534834800"; d="asc'?scan'208";a="88640560" Received: from pipin.fi.intel.com (HELO localhost) ([10.237.72.128]) by orsmga007.jf.intel.com with ESMTP; 12 Nov 2018 03:47:14 -0800 From: Felipe Balbi To: Andy Shevchenko , MyungJoo Ham , Chanwoo Choi , linux-usb@vger.kernel.org, Guenter Roeck , Heikki Krogerus , Roger Quadros , linux-pm@vger.kernel.org, "Rafael J. Wysocki" , Sebastian Reichel , linux-omap@vger.kernel.org, Darren Hart , platform-driver-x86@vger.kernel.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Chen-Yu Tsai , Hans de Goede Cc: Andy Shevchenko Subject: Re: [PATCH v1 4/5] usb: dwc3: drd: Switch to device property for 'extcon' handling In-Reply-To: <20181110181101.24557-4-andriy.shevchenko@linux.intel.com> References: <20181110181101.24557-1-andriy.shevchenko@linux.intel.com> <20181110181101.24557-4-andriy.shevchenko@linux.intel.com> Date: Mon, 12 Nov 2018 13:47:10 +0200 Message-ID: <874lcm34ch.fsf@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Andy Shevchenko writes: > Switch to device property for 'extcon' handling. > No functional change intended. > > Signed-off-by: Andy Shevchenko > --- > drivers/usb/dwc3/drd.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/drivers/usb/dwc3/drd.c b/drivers/usb/dwc3/drd.c > index e7e421521a34..5dc4cddd5b68 100644 > --- a/drivers/usb/dwc3/drd.c > +++ b/drivers/usb/dwc3/drd.c > @@ -10,6 +10,7 @@ > #include > #include > #include > +#include >=20=20 > #include "debug.h" > #include "core.h" > @@ -485,8 +486,8 @@ static struct extcon_dev *dwc3_get_extcon(struct dwc3= *dwc) > struct device_node *np_phy, *np_conn; > struct extcon_dev *edev; >=20=20 > - if (of_property_read_bool(dev->of_node, "extcon")) > - return extcon_get_edev_by_phandle(dwc->dev, 0); > + if (device_property_read_bool(dev, "extcon")) > + return extcon_get_edev_by_phandle(dev, 0); No reservations against any of the patches. What is the idea for getting these merged upstream? I don't mind taking 4-5 through my tree, but what are the other folks considering? =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEElLzh7wn96CXwjh2IzL64meEamQYFAlvpaD4ACgkQzL64meEa mQaAtw/+InF7b2f+wuzyOTNpr/uXn6Y7KMmBL0Cvh9ee7BiuQvghmcpKNufDLxA0 6DvmfmqxBdyvHMaKvygBJzpRVrYZIvcmzk9kGpYmTZFJ/7IF8S+jmuZZUz6V+/Db T5MOC+czKGWBVv8XVDzvK2jG53RUMDzpeiu/KXksXvUi89Kg88kH77Brj/RnUfia 8FGJ7Vdzvbsntd/efVQl3q6gSQHRI1Syi3Nm5htsRwJxZZx6Cl0VnyDSXNLR6Ecc GOC+xRGTDrP8f4DoSc66Bzak8NhOly9RE+DnjlqbHX8SZPp9lyg+3bWy1VlCnjW1 ze0yiIPQE5wytjKyFYg0L+0INesgsxb3ptfg2XRoeuStfjr+2z6CcXh+q2Dwve3/ pvA9ZUf2cNU6x+oiPCn26G6dfFtGaqRiliJ33L3K7dtajA52+Xt7zRg45Vz9fb1p a2yT9lWZWpPFcDQ/pLX8H7JVpp4p8djt9v7BsVCtbbyHXnO6gtaeH7idmlQ/eTfj bsiPYCMDCcvzjkVM69R7URy5E0sDQ4IGpm5v99c+PWnHICYb0SfaGFwEeTDe8QnF b+SqdpIhIMinHMEYYUHnKn/8WpGx/4MrLSlCNvWWCuQjuxgyI1RawygsU9AMnyv5 JhP7cfr6dMvsXij/bzlM4XNOVbhUKpQSLyYSaOThXoeBXPyJdJI= =htB7 -----END PGP SIGNATURE----- --=-=-=--