Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3532589pxb; Mon, 24 Jan 2022 11:34:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJwwDZ/2iV81cjcKSQ+SsuuPFhdRahoV4h0bEZnoBlVcPnFZTkZDJOLY1Aep+PgjkdVO31+T X-Received: by 2002:a17:90b:3511:: with SMTP id ls17mr3299862pjb.211.1643052872002; Mon, 24 Jan 2022 11:34:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643052871; cv=none; d=google.com; s=arc-20160816; b=WHMsW47WjLCQoXX4H0WxCIxUVChbxddczGmO2sCr1fE0ojZNicPcznZlh9vksn07yA 98nCeXMi95ugT0ET3bV2k6fOMAJqDcQQmkjfQDO6ro9HmZSq8Rr5uCI/diNOYf8w4zKd ITBmh1f5qRakxPpOB86qo3m1h6gYlZNdzq6g8V/cIiVX5l2aWcDiIOgsJjYk7/m2ofUz zw7NFIQ3X/Ke/4+FiiXfUrgiAVQ0hwDkDj2A/Eq4+E84oEh2Ldu0lL4G+SeOQkI2dApg XjYEDEhINur8gsd1NxcvFv0G8lOZGsxf68ZYcKWyqH8aVGu/v14kRXL8TbVJaJaFol5D P4ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=Oie1b36i6/TbE4FF4Pq/4UYugMwQUnJRBk10SegfjVQ=; b=RM1SCnDyY7kXfPRUfCZUF8a2+6u2gEqoOi+AEKaDMKwmyCCVWpDcW1EULKL3oSE3+e mnlxc1GHstT+y20gtTXKNHJwsfPrjhK1icVLR9DKU7qKg2gZc1UA87t9seMnJf3GNOAF /4NPIVMpnBen3IB/eHrm3J9xGsvHQtB/j5d5rUUf/PZctPaBfZYm4KNglh0pTmRKO/k6 BDt+MUVr2HLWgfweuwK4i2thXLnBYWj7NTRdVFZqvr1uwMbsGpRjlw2q1aoT9RfqsTPW rxz27537SGwHlO9jPp9UuJSkJUdIxQqlXA9BFgyH+gpqZMuVr+f+Mox5OGEnM71hiYq2 ZtDQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r84si6187409pgr.542.2022.01.24.11.34.15; Mon, 24 Jan 2022 11:34:31 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241118AbiAXQ3g (ORCPT + 99 others); Mon, 24 Jan 2022 11:29:36 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:46922 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S243755AbiAXQ3e (ORCPT ); Mon, 24 Jan 2022 11:29:34 -0500 X-UUID: fc04cd908f8e4f149dc9331c2375d707-20220125 X-UUID: fc04cd908f8e4f149dc9331c2375d707-20220125 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 63018091; Tue, 25 Jan 2022 00:29:29 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.3; Tue, 25 Jan 2022 00:29:28 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 25 Jan 2022 00:29:27 +0800 From: Miles Chen To: CC: , , , , , , , Subject: Re: [PATCH 05/31] clk: mediatek: gate: Clean up included headers Date: Tue, 25 Jan 2022 00:29:27 +0800 Message-ID: <20220124162927.18795-1-miles.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20220122091731.283592-6-wenst@chromium.org> References: <20220122091731.283592-6-wenst@chromium.org> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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