Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6781015yba; Tue, 14 May 2019 13:35:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqxgMY++1VUto+kejHMmWFDX89JewpOy2ItBufLBx5ZZCOrMgDcm/C4c0Rs5pDgjCZ2zVEtV X-Received: by 2002:aa7:98c6:: with SMTP id e6mr42565257pfm.191.1557866135866; Tue, 14 May 2019 13:35:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557866135; cv=none; d=google.com; s=arc-20160816; b=e66vh9lI7LEictCM91yfcygeVj+w3vjDhEXeL427kYg/YYxeeZNzmhIuHwqu5/7PVE K3VKpMFKZtLdbFe3BI5bKWMar4mj6ZmGsZK1WcoWMcwcqSRcdYgSrcRtHRIIUWg5oeOT ruQGuBQNl2ruUHphD8+YABD0+M+3lLr5ns2/58Aq5e6oS1eMDE4T52GR+nHzfyO+5mJs zNb5H1sRC+HRVOrnGXDL7rjS9j4h4pn7N8BEENi1ZEOxieIc8ehXyC0s1xz2nxls00qu ghyayucdzd/ljcJzVO5+zjO/7wwkVEdQhNSfEFCl9CjVq+xjbGqSn2cxRX0AdoQ5JdWK QHTA== 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=S2kfArcccn+1VETYupKDVF7Lt1nS0QsmXqQ76rHYoWI=; b=gq1kFgQ9oOfhrPPtwbUxAm2/gB0Od5v1wwoHBam7JkOyuNgmY/XL8btGUen3wZRsBP isHHTw3hAWQPTE8n63j1u0vRH87LYzHMMywhzm/15V1SQb36hDs2ogp0zM7FpG1Lrkel lnvEDGkMSSq5Rk7ITQemHvoT7nIJrPKRtHO0JGEf8PhbRglfhbroJ9a14ziuGl586JWa cx9wjMB7XOmVZEy5FZ1xE3i88eMJzap1QwPaZ2OynbGVMgEEi5C5Xu78mi58S3HdrYm8 ltq1KXHmagH2vrDl4b0s27oF8+MaR/09FTBt+t+g+k9lNOtouLpv1O4B3zma7eYUdTqm 4E+Q== 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 j10si21457906pgh.273.2019.05.14.13.35.21; Tue, 14 May 2019 13:35:35 -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 S1726546AbfENUeH (ORCPT + 99 others); Tue, 14 May 2019 16:34:07 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:53067 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726143AbfENUeH (ORCPT ); Tue, 14 May 2019 16:34:07 -0400 X-Originating-IP: 46.193.9.130 Received: from localhost (cust-west-pareq2-46-193-9-130.wb.wifirst.net [46.193.9.130]) (Authenticated sender: maxime.ripard@bootlin.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id E95A1C0002; Tue, 14 May 2019 20:34:01 +0000 (UTC) Date: Tue, 14 May 2019 22:34:01 +0200 From: Maxime Ripard To: Stephen Boyd Cc: Michael Turquette , Stephen Boyd , linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Geert Uytterhoeven , Chen-Yu Tsai , Tero Kristo , Krzysztof Kozlowski , Mark Brown , Chris Zankel , Max Filippov , John Crispin , Heiko Stuebner Subject: Re: [PATCH] clk: Remove io.h from clk-provider.h Message-ID: <20190514203401.xq7giy63nhsws2i5@flea> References: <20190514170931.56312-1-sboyd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190514170931.56312-1-sboyd@kernel.org> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 14, 2019 at 10:09:31AM -0700, Stephen Boyd wrote: > Now that we've gotten rid of clk_readl() we can remove io.h from the > clk-provider header and push out the io.h include to any code that isn't > already including the io.h header but using things like readl/writel, > etc. > > Found with this grep: > > git grep -l clk-provider.h | grep '.c$' | xargs git grep -L 'linux/io.h' | \ > xargs git grep -l \ > -e '\<__iowrite32_copy\>' --or \ > -e '\<__ioread32_copy\>' --or \ > -e '\<__iowrite64_copy\>' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\<__devm_memremap_pages\>' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\<__io_aw\>' --or \ > -e '\<__io_pbw\>' --or \ > -e '\<__io_paw\>' --or \ > -e '\<__io_pbr\>' --or \ > -e '\<__io_par\>' --or \ > -e '\<__raw_readb\>' --or \ > -e '\<__raw_readw\>' --or \ > -e '\<__raw_readl\>' --or \ > -e '\<__raw_readq\>' --or \ > -e '\<__raw_writeb\>' --or \ > -e '\<__raw_writew\>' --or \ > -e '\<__raw_writel\>' --or \ > -e '\<__raw_writeq\>' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\<__io_virt\>' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\<__ioremap\>' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' --or \ > -e '\' > > I also reordered a couple includes when they weren't alphabetical and > removed clk.h from kona, replacing it with clk-provider.h because > that driver doesn't use clk consumer APIs. > > Cc: Geert Uytterhoeven > Cc: Chen-Yu Tsai > Cc: Maxime Ripard Acked-by: Maxime Ripard Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com