Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1944271imu; Thu, 10 Jan 2019 05:51:04 -0800 (PST) X-Google-Smtp-Source: ALg8bN4Xq+SFbH7CXPB3+UeLXYxsUPYJgoQ2TIqZPccbn2qgfn8+CiINCbLYYVIT+WFfzcUKBhPK X-Received: by 2002:a63:5621:: with SMTP id k33mr9529520pgb.395.1547128264632; Thu, 10 Jan 2019 05:51:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547128264; cv=none; d=google.com; s=arc-20160816; b=V5ryqJswYjFfKOP2Ft9bHsuJliVFqf4yUPz2fadQrun7q4CqKKzlOUhgtGYQpqSyES Zx5KwSeYhbbd2qae5/JxpMEPLuRIJ42n4W98ehUrxxqL0mZKk2SpBJL7mhiP5AUyiDL3 rGqtGbXBJ+250k0dJGQ4H+Q7bfVySwehNlFYjdK8i9lZMuG2xB/evXCPcS7A+XNrQ9hJ k4aKOPN8gDOvvoDsCTfZ6sUQMWWeOl72925PH+5FYQcvA2w5YpraBeNebocc/TxOXTbt fa500IlIfNkqEHH8baFxxDMIDK5qV5PxxRHsmE4ov2hThHPpSaLAjhUnQCHQ0yg4NTlO WNsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=55W5GNfPnDnu0j9O+ATDG6PCQENec6RBdb8jZQ/VYMA=; b=lDn4EZUNxx9k0OK2OhMtXXIm/viFJxgwQPpDmd33UnnxMfF71R7VG9U0asrmRtxw3Q FgefwSR084A2ViwhzhPolnASgZggik6KnkRaffc4rgSiSZZcpcOBEYPlO1S+0eY0qKQ5 0QPqNz3/vVt+pvQzhOP8iDb8X9XQdhQLcKDaF9Z9YypO+IETjkfpnonK+vF6rjNJB8cg 6EJ3RrmttHuZK1m1ZLNqlFI5caAZ6D+JXHhjZAHstW7TWoM3F/NGJPeaIwHjGPSxWneM Z2rAhCE8ZnwECNza9umth2Qi1w3NutfMEn3XQJZpJcCOPekcpFN/+XJo0lkBgeVq3ard tifQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kfZDSk3G; 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=pass (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 bg9si9312507plb.317.2019.01.10.05.50.49; Thu, 10 Jan 2019 05:51:04 -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; dkim=pass header.i=@kernel.org header.s=default header.b=kfZDSk3G; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728380AbfAJMID (ORCPT + 99 others); Thu, 10 Jan 2019 07:08:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:56504 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727535AbfAJMIB (ORCPT ); Thu, 10 Jan 2019 07:08:01 -0500 Received: from earth.universe (host-091-097-085-127.ewe-ip-backbone.de [91.97.85.127]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A4CBB2173B; Thu, 10 Jan 2019 12:08:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547122080; bh=GHlPz/F7miCS2CBeWT25aeoKwH5qAAu0cROnDiz7ak8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kfZDSk3GxBeQXp9ULU20zlEK1X04co5Ff1cq3dvTe6RYb0N1r0tCDLyDcyThL8Vh6 HBakn/AJxjqqZ35dBiwb1bU6Wc2SxKLRpNOdwKjZ4LUU4wFciTaGNGQBfg8+NlL/X5 MCF44cZ1LDJPzO9cR+vUli87g96QuusWt5aQT8ZY= Received: by earth.universe (Postfix, from userid 1000) id 613833C08E2; Thu, 10 Jan 2019 13:07:58 +0100 (CET) Date: Thu, 10 Jan 2019 13:07:58 +0100 From: Sebastian Reichel To: Tony Lindgren Cc: Vignesh R , Greg Kroah-Hartman , Rob Herring , Jiri Slaby , Lokesh Vutla , linux-serial@vger.kernel.org, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] serial: 8250_omap: Drop check for of_node Message-ID: <20190110120758.bz63neey5ztepw4m@earth.universe> References: <20190109091206.25759-1-vigneshr@ti.com> <20190109091206.25759-2-vigneshr@ti.com> <20190109214403.GW5544@atomide.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="u5tx4nodvh2iwfgy" Content-Disposition: inline In-Reply-To: <20190109214403.GW5544@atomide.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --u5tx4nodvh2iwfgy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Wed, Jan 09, 2019 at 01:44:03PM -0800, Tony Lindgren wrote: > * Vignesh R [190109 09:11]: > > 8250_omap is DT only driver so dev->of_node always exists. Drop check > > for existence of valid dev->of_node to simplify omap8250_probe(). >=20 > That part seems safe to me now. >=20 > > --- a/drivers/tty/serial/8250/8250_omap.c > > +++ b/drivers/tty/serial/8250/8250_omap.c > ... > > - const struct of_device_id *id; > > - > > - ret =3D of_alias_get_id(pdev->dev.of_node, "serial"); > > - > > - of_property_read_u32(pdev->dev.of_node, "clock-frequency", > > - &up.port.uartclk); > > - priv->wakeirq =3D irq_of_parse_and_map(pdev->dev.of_node, 1); > > - > > - id =3D of_match_device(of_match_ptr(omap8250_dt_ids), &pdev->dev); > > - if (id && id->data) > > - priv->habit |=3D *(u8 *)id->data; >=20 > But this part it seems we still need to keep around > as we still have lots of clock-frequency references > in the *.dtsi files. Or am I missing something? It's re-added a couple of lines later. Only the indent was removed. -- Sebastian --u5tx4nodvh2iwfgy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAlw3NZsACgkQ2O7X88g7 +pr5IBAAhmNLhHoG54gdNETgXhIRD+prbisTAvMlT5EQjZRR0o0X//uoTI8Hw+Z6 Yh46FgkTU7rj++fpvAHfSbSOsMLklT7dsU6r8OQqc/4szPAoJPa+Fp2eDi3QOQKo f12NEqD42+i2R4Ah789ctstIek5z0YIBL4dK92ubKbEHSqMp0/u214+JHGnVM7Jx Zw5r+ibBYPjMEU8xVKe3993mEU5MyTQhOlRSSMBwiDcxqyckle+IUZugr91lr0dG Mluv1LK7wupwbk/a/YD7gagiZN2kuyXRzwxE6J/hRHl1wchj4ald2SRvmxYUpEW/ 6BtldqSPd3HDsxRwxYhfztg9JIJZy1zDYILTRT93bKH3SHQTUcBP+JNva69zVik6 BeV6kLfXo47dSv2GGK4HcGD4Ryggh6P7UyrP3seFg7FM5LS7a9fSPPEONoWyt5ew 1WUNusbG0/VK9XMpo3lWBL3xEg0mSUO0Ov+9sKCHQcNQhZIAqJb9i4SSbe9dCoOa rJ5pRG54NHOZQAX2JcWSur54kDNGAVcHT4tyApGmrtqAbIOe6cAFopKPJ7mzD8uj Od5/QGcmSPg1YDaT+NPniXTc95dwK0JIOy4C5mXR7mUE0L30tvj8MwXyBYJZXj2b 4qLnkr0hJRKkOblwysOSqeCPCMcO6sF+0qPiQg9uBesI3FvPUWg= =kRf9 -----END PGP SIGNATURE----- --u5tx4nodvh2iwfgy--