Received: by 10.192.165.148 with SMTP id m20csp472254imm; Wed, 25 Apr 2018 02:37:22 -0700 (PDT) X-Google-Smtp-Source: AIpwx49SEa8Q1OVit/XaOFVVkj8Pm3vlbTV9qLxktekm3FP0uuGNYe1ISFFLMept1NKKNx6WGhYG X-Received: by 10.98.76.68 with SMTP id z65mr27529900pfa.181.1524649042364; Wed, 25 Apr 2018 02:37:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524649042; cv=none; d=google.com; s=arc-20160816; b=0BfeOwEuqq4o6lJ9EhMkoRWoVRHQHq3J+R7VEU2OZ8RvQXLiI7am/QWHV5AYctDHqC aXdTNX8yqPIDhFrOTraqs0hBxMBRtHESzzfX4Ub+21IL6f2Vw8M8k1wraeSjEP2iBv4D mD6UgeV8O/417SdDv956WratXbkd8WdEtmiL50kvXE28Nyi7t4k8TylUyvL1dJrZY7WZ oXonTXhNs63umWSTglROYt9thXSoVFOHhusPOCZzeS53c3ns6v/Js6f01ZBSCcuN3oGB cYe6evS/BH2AKSBmN201ycfB5Dwnfq/7MqWJzRH7C9oNvlbIPjHNYy7JwwZnZW/7FHYz dXQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=YLd/ktHQqNsALUaQx1yftWy+ykam7d3FwzDsR/n0xvU=; b=QgDRcr9eu1/qPOtSCt1OROs8+6SHLtIZyebN22ykIiH1r5U34wO2h5c7ab2KOTpcoQ T6n8c+oAg1pB1lxK5Vz4U92C8LtXfQZo+FhfLyNXI5elfLobvC8H7atsq6ep0w1WSIjh WW4h4RGAW0RHBuX8XrIn0Gh6eEAGmjMhGf3sCMphNvu3Uutp6Li5wdM+S5sFzM0l8uhY gK+XxFlOSxwUVu1WvwPRSljIw5BQ+3dDJS7YsKKZgFtZg7UbCGFG9k2oN2vF0jOr/icV 2CyU8MmnsHL4Wow6HGFDVS2jn8iGPAN1IozxU7Hq3LPTXKu+9XnzAlcmtzahHJ6VOjVj ZbRw== 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 u47si13680301pgn.488.2018.04.25.02.37.08; Wed, 25 Apr 2018 02:37:22 -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 S1752219AbeDYJfB (ORCPT + 99 others); Wed, 25 Apr 2018 05:35:01 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:62845 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751328AbeDYJdH (ORCPT ); Wed, 25 Apr 2018 05:33:07 -0400 X-UUID: 661b760ab043466ca544d9555c6d2d9a-20180425 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1783612255; Wed, 25 Apr 2018 17:32:51 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 25 Apr 2018 17:32:50 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Wed, 25 Apr 2018 17:32:50 +0800 From: To: , , , , , , , CC: , , , , , , Sean Wang Subject: [PATCH v2 13/17] rtc: mt6397: cleanup header files to include Date: Wed, 25 Apr 2018 17:32:39 +0800 Message-ID: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sean Wang Clean up those included header files by removing unreferenced ones, add missing ones the driver explicitly depends on and finally list all #includes in alphabetical order. Signed-off-by: Sean Wang --- drivers/rtc/rtc-mt6397.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/rtc/rtc-mt6397.c b/drivers/rtc/rtc-mt6397.c index 4c5cdaa..3672d622 100644 --- a/drivers/rtc/rtc-mt6397.c +++ b/drivers/rtc/rtc-mt6397.c @@ -12,17 +12,14 @@ * GNU General Public License for more details. */ -#include -#include +#include #include +#include #include +#include +#include #include #include -#include -#include -#include -#include -#include #include static int mtk_rtc_write_trigger(struct mt6397_rtc *rtc) -- 2.7.4