Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp984130pxu; Mon, 23 Nov 2020 08:49:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJxnyH7nxndKchM0htVhsDn+jZxcxgMz3LXg/RL8MNpuBLUVqV3J+lqKHpYTgpSuwutolQaZ X-Received: by 2002:a05:6402:21c7:: with SMTP id bi7mr115198edb.54.1606150164486; Mon, 23 Nov 2020 08:49:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606150164; cv=none; d=google.com; s=arc-20160816; b=mzlwWrbsqnvU43GT+yLHbs1DbBxv5MZMfcY7/a4Xxrdkrz6uaphZzQLlHouzyMQtmY C3cl0RRanZdPimkR8u502tgnDk/FJ+Q65V1RpwfO5ExV05Xj7dCRO5fvH+NNMjS/q9Ul iXijJql9ohYb/H2VXofO6a/yLxMyxZ3OSABVLlnzy3csi0/XCmAC31/4UzEJMtrbHFT/ 1QDagB1gBBDjyc5iPc3p0lmWTecYWbXUdB+TA32kN/g3Fc+Lnv7GfvVIyljfXAJEu5K7 aO/mkjsjf0cjt7/iALSqNc1J/IBahgJiIcs4m0PQgq1HwzVp1KJZN3vEDPC5jD8gy+tC yEnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=7j/BWrygBnyCR3BfgDjzx8oxL1jynpcgFDb6C2VRtGc=; b=F3EDf++I4J1cTpgJAeknNJKyI0s524wiqFRYJS9rP/KuU3dZZlhr748ZtuIYVg+bKg nfakubhkD32S62A8B+fOfHis/xN2YV2uE2ERkGgkmKD1o40N7kxJF60QArDsmtiCbOSD qvqtRDyipAC0hRE4p1MEjexHBTQgNWzcm0Pv2pqnlLl8+V0ZzdC2CjcuqaFS+CxsXLKz TqQKoAK2idGvOWSbAG+Vi1RfANQYbXBWZfON1Sw8OM+ZkxLM90HomVvvNySagk7I3zDI VHSn6CCBlu+DMNS0ig7ZEoLEAxAdb34ggKRbAeRjj+8m9a8clPiYj/KOBI6wUgFsiDat rnVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BPkOfmVs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id e16si6842622ejz.457.2020.11.23.08.48.59; Mon, 23 Nov 2020 08:49:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BPkOfmVs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2389997AbgKWQny (ORCPT + 99 others); Mon, 23 Nov 2020 11:43:54 -0500 Received: from mail.kernel.org ([198.145.29.99]:33530 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732945AbgKWQny (ORCPT ); Mon, 23 Nov 2020 11:43:54 -0500 Received: from localhost (cpc102334-sgyl38-2-0-cust884.18-2.cable.virginm.net [92.233.91.117]) (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 DF7C822202; Mon, 23 Nov 2020 16:43:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606149833; bh=KM4r7MwaPKpXE9JTfWfEWcXBm5bb1qbPQ3X0VvyVd4M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BPkOfmVshAo49whRlUaSnutvud9KcolrP6aA8eBshzeBmrIrxycJYG2yUxRqe8OSW 6+Z5vmrxrgY1EX6Ac3CqA2nguHv5JI/QiQ08BSzOSnW7M0ywRc3HK78bL8DqgYKJlI NDESmxQh0N+cEAiCsckinP7FvUcf9Luhxd1KfeVQ= Date: Mon, 23 Nov 2020 16:43:30 +0000 From: Mark Brown To: Krzysztof Kozlowski Cc: Andy Shevchenko , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, Liam Girdwood , alsa-devel@alsa-project.org, Jaroslav Kysela , Takashi Iwai , Shengjiu Wang Subject: Re: [PATCH 01/38] ASoC: ak5558: drop of_match_ptr from of_device_id table Message-ID: <20201123164330.GG6322@sirena.org.uk> References: <20201120161653.445521-1-krzk@kernel.org> <20201120165202.GG6751@sirena.org.uk> <20201120194245.GA2925@kozik-lap> <20201120200429.GJ6751@sirena.org.uk> <20201122105813.GA3780@kozik-lap> <20201123104832.GY4077@smile.fi.intel.com> <20201123123731.GA6322@sirena.org.uk> <20201123124129.GA170000@kozik-lap> <20201123135006.GE6322@sirena.org.uk> <20201123145831.GA202597@kozik-lap> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IuhbYIxU28t+Kd57" Content-Disposition: inline In-Reply-To: <20201123145831.GA202597@kozik-lap> X-Cookie: Dry clean only. User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --IuhbYIxU28t+Kd57 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Nov 23, 2020 at 03:58:31PM +0100, Krzysztof Kozlowski wrote: > Having these of_match_ptr() for OF-only drivers is not the correct way > but rather something which is copied from existing drivers into new > ones. This is another reason for removing them - people will stop > copying this code all over again. Well, it seems that the issue the PRP0001 people are having is that they'd rather that there were fewer OF only drivers! More generally it is good practice to write things as though there might be non-DT support even if it's not there at the present time, it's easier to not have to think if it's strictly needed and it helps anyone coming along later who does want to use things elsewhere. --IuhbYIxU28t+Kd57 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl+75rEACgkQJNaLcl1U h9BiSQf/emZ4fCarHLUI71Hqpc4QJAz+w5gA+DRKeiySta5dIWLLGCzbREL5lUCh 93fxw8vLQKryX71eVTwydSxRLMwPHNi7XHtBWKXwrqFe45byHdVjcE2ggMowivFM 3+lTwB3Gl60GYaSppHfW2wVS3gTCwCCF78Asrao1B4ipJMYdKT1j54n8HHXF4mMT iP2JBmGkknT9+RJVBA087VYVIzKkflE7H9q4h6JyMIrr9F6Gnwx6Xkawv2NAwPwm BYDXl90zQQGBHao62BXyw/IPdYSi4KVzUzaL0fiPR8niLaXdcovru7xxHPUabpmn CX4ANWeN0bn+yvk3ImcJJ04Jpp5SoQ== =AliB -----END PGP SIGNATURE----- --IuhbYIxU28t+Kd57--