From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 07722C433EF for ; Thu, 17 Feb 2022 20:22:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:To:Cc:From:Subject: References:In-Reply-To:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=OabJNxnkH/ObHEQQclcCbeftSVLVOdBPPogMGlNK6BM=; b=Zp1gLFPj1WPVGP nu92o5yQfcG8neqbB0ezz9vqlBEXm0TJKBTcLck35PLawAqYoCdUglRkOGf02ScWVuuO9UjS/AluQ ddaBkwQAfq68nqjjLv0M9rU3MDRoyRS4q2Y2C+KryryV5Se+OJbZBJwcIV/KtJ3jDWEuHZCcsBZQG KOtfc8ft9+Tfbe9tbXy+IpdBSO8xoiqaIS6DI5nMnl5CQIxnOijPBy1i4OfOi3RTQ8njL/Ns2+8tX 0Fo5J9LvxPlthFsfIsYzFW+HywJf05Ns32Jl6wgP2zgE2OO5WiDszeH1WUEfLVR6smN10M+EnqrVI xY4oL9aNQKT7pCRdyoPQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKnHU-00C1wh-Ix; Thu, 17 Feb 2022 20:21:36 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKnHB-00C1nE-GG; Thu, 17 Feb 2022 20:21:18 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0A79A61D7D; Thu, 17 Feb 2022 20:21:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5EEE0C340EB; Thu, 17 Feb 2022 20:21:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645129276; bh=aiOobr5lBz8A7yIKfHbKbUXZbVSHRX4MX9DlxRPLcGo=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=LlvM0hb5v4xqj0rKiwafwhzy7MevFh0RHetWovm1b5pGRNpt7p23KxrmvDnpwD55y Hmlm+ATkQzFRkvRHaUvQ51AW0hwiv+eR63EWxW5sUB0g8v+Z7WI2G8O+ZxtbK18hyf SaxQ6GDmEOvRpCq1znpoXcNHlyhBOT8VVZ89FNL9rJ04hmqlDGyJFZwgMFM70GrAiD +A39Encl/0IJ3F8ByK+HBxBZ+flevx8Hl1PgB9pqXqByxGFGI7G5CEvTbUmbOeilOU r/GiIhUBeq0zr1h1tzG6Ts44MsOTU9NlKjsPi3M2ehfQWTrmqtGiRv8opeesb5X++U 4U1pVoXB+E+2A== MIME-Version: 1.0 In-Reply-To: <20220208124034.414635-6-wenst@chromium.org> References: <20220208124034.414635-1-wenst@chromium.org> <20220208124034.414635-6-wenst@chromium.org> Subject: Re: [PATCH v3 05/31] clk: mediatek: gate: Clean up included headers From: Stephen Boyd Cc: Chen-Yu Tsai , Chun-Jie Chen , AngeloGioacchino Del Regno , Miles Chen , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org To: Chen-Yu Tsai , Matthias Brugger , Michael Turquette Date: Thu, 17 Feb 2022 12:21:14 -0800 User-Agent: alot/0.10 Message-Id: <20220217202116.5EEE0C340EB@smtp.kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220217_122117_616902_7C00FBDE X-CRM114-Status: GOOD ( 10.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Quoting Chen-Yu Tsai (2022-02-08 04:40:08) > Some included headers aren't actually used anywhere, while other headers > with the declaration of functions and structures aren't directly > included. > > Get rid of the unused ones, and add the ones that should be included > directly. > > On the header side, replace headers that are included purely for data > structure definitions with forward declarations. This decreases the > amount of preprocessing and compilation effort required for each > inclusion. > > Signed-off-by: Chen-Yu Tsai > Reviewed-by: Miles Chen > Reviewed-by: AngeloGioacchino Del Regno > --- Applied to clk-next _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel