Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3588261img; Mon, 25 Mar 2019 13:23:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqxMy1AOIdQq3kX22aMG7gb+YhLffjGdZMrwD/TNC/pVw+c86S8LSt0aBRoJFaWmprxMWiWc X-Received: by 2002:a62:e50a:: with SMTP id n10mr2671794pff.55.1553545387734; Mon, 25 Mar 2019 13:23:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553545387; cv=none; d=google.com; s=arc-20160816; b=atE1YMht7Mw/YaViof9v76Q6/dVv9wiFPBV+lfA+5TErXKLLNTPmyGCzvevb7tnONl sFj5d2CyAuTwMcB0/M7nin1Ump+6AOTcPCoU7ryt/ZUJeSZlgsNaWaOiA1Qp/wQlTSU9 QnxgMvkOM2kLtD/ZXvsqEFYMLuGISWODvFma7uIVaOg11/dw4Q95z4rX4tUT1nFYm+Q9 94kXW02uj3TJq96fhm5s9cSRrC39iZ/GTyO2dQ11czPqNFn/g2b2FQXneB0nUWOZCNhD dIiWkg6+a7vmbwCUMAaIwyk9Ssc3eJSw4nNd7JR/6uasarUMrE66tMvC5eEzekRMPAkN dAyw== 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; bh=JbuHFvyTMesa5wRep8BJZDR+Ek0lFhXyp/aKO94P0tM=; b=UBH0YV9H0Pz7KQsKk0BHrdWov2xwOLYWX5AhPSBskHjNWP5YoUnzYfH+iL50luIMpV i7Tk9fzUN3egluB7LN9ShAjXEIXVTv70HWA9FxpL8ZCc1l+yvP8yNnaroohvarzeo7e2 enMK1SzAYhn8ChODocmzSYNRRAi7QyOQ/86Mo3jUWNYXGRulMPlSBJ8igJTe2h96zsBr MtHukINEmBDHw+GiX2BkUoWOc15+lnf/Y4jzytdfO0+3xnbYX71ID4TP50dQLGPoVsAU Kmyyf8fNyNlsckRDHPFxzl536pLtlaod6UDSPj97AeUIB6FGWp9Kj7WeRPUs3f7I1Wxy fhFA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w3si3480733pgr.189.2019.03.25.13.22.51; Mon, 25 Mar 2019 13:23:07 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730212AbfCYUWG (ORCPT + 99 others); Mon, 25 Mar 2019 16:22:06 -0400 Received: from sauhun.de ([88.99.104.3]:48778 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729283AbfCYUWF (ORCPT ); Mon, 25 Mar 2019 16:22:05 -0400 Received: from localhost (p54B33284.dip0.t-ipconnect.de [84.179.50.132]) by pokefinder.org (Postfix) with ESMTPSA id 2CD872C0963; Mon, 25 Mar 2019 21:22:04 +0100 (CET) Date: Mon, 25 Mar 2019 21:22:03 +0100 From: Wolfram Sang To: Simon Horman Cc: Wolfram Sang , linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Lee Jones , Mark Brown , Support Opensource Subject: Re: [PATCH 3/6] mfd: da9063: remove platform_data support Message-ID: <20190325202203.GA7749@kunai> References: <20190318154759.21978-1-wsa+renesas@sang-engineering.com> <20190318154759.21978-4-wsa+renesas@sang-engineering.com> <20190319122556.7wpabcnwklv3fg3v@verge.net.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline In-Reply-To: <20190319122556.7wpabcnwklv3fg3v@verge.net.au> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > - if (pdata) { > > - da9063->flags =3D pdata->flags; > > - da9063->irq_base =3D pdata->irq_base; > > - } else { > > - da9063->flags =3D 0; > > - da9063->irq_base =3D -1; > > - } > > + da9063->flags =3D 0; > > + da9063->irq_base =3D -1; >=20 > If the flag and irq_base fields have fixed values can > they be removed? As a follow-up? There is likely more simplification possible. But yes, it should be a follow up patch, I think. --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAlyZOGcACgkQFA3kzBSg KbZt7Q/+ORnpb67l6sGMv5O5vgPK9uXv9lSOu7wR9M4URAhOtZRWO9L8/z966SaI KYH041CJZij6odFXtHf2xOK65ZjM7TOBFTtNeg1VQf+q4U9GQK0UERGWw+DSjOwJ g0myfiJKhTBAXNl4tO3cU6noF2rosJuxEMX4CXqgFG9PhhVuYZ3IU/ftoQ7+eAMw uavKsQR3jEdAWY8IrKlSanWg+21Ky0LipVmX3Y9SrPoUYV89zhwQJtaT0p7zN15d tJKwc/LuR9IBPRPU56qHIgppmcQ1exi4gy1z0Wf0nvbo74KIV9MVAOYohIVbV4bo 4ciDwbJWeXlCMynZ8N3WNcfYaMng5wWfCSz/lE+ckt1aLna6OFugOQsUuVLXB5Jp f8pPpZl47aSxv1XWBIL2QW7BEqlBD4SUCYk2Aj7Hg0h7kl+A2PMZYPMOQacyOSpn sN4mFKrVCv4zTryi1crPhgaWhWz2bgXPMrrusv6FfU1I3PBvMNVA2esoJQsDD6pv JK0wwg4oBQeLrUNeyzt/P+B+47xEIprbhIHabBxE16QVRm9lt3gRHbOIKkwct6+c tSN6pX9wUHN96XbDu1kG9CKmtW9hcouJJ7ayc9Vckru6W+s8vk/7a5Xz8s81pzLi 8IO0EibivOP3rC1yIBi99ke+7a6zSwEIwERWXQGG2KotKRq1CoE= =fdoN -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu--