From patchwork Thu Dec 29 18:40:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 13083727 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 83A24C4332F for ; Thu, 29 Dec 2022 19:11:50 +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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=T2qoqWAj+8ZdVaTuipZld8EU/vqjKs1sujj2FS+IKS0=; b=vkFpKOQQf6Nkvv iWxcyMKNCXt5x/rFEcRT4NKZtEhVDQQ9XKFl6PeeVaDAJ+t7MtUX+RJcJB5LtcVvbZDemlC1APDHJ 4mS8NheoRrfeIL/HRHmBxar7hEnGnQ2OV39dHrDFK2yV8HtrqRZuc7dfKyUf1n0l5lM3EzSbjZdm1 lhpbCRSKsb+xSzavjU/qlFw+MZr66+8ct0W66npVLVQx04VP/fcb7EP6iLgHp3Yc+lH8V6moMDEKL 82OzIKCmrjEbFTijodoBMMbh/Enj3oMz6NY+SMjINzWQXnUGZpsqRiWAQMKV7F7abcxBwk2dIyvDn 8HQeR7lP6dSbdDdmfItQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pAyIa-00179M-GI; Thu, 29 Dec 2022 19:10:40 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pAxpD-000s8T-Fz for linux-arm-kernel@lists.infradead.org; Thu, 29 Dec 2022 18:40:22 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 2B459320077A; Thu, 29 Dec 2022 13:40:16 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 29 Dec 2022 13:40:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1672339215; x=1672425615; bh=XR 9sJUSnhveDvOfDAvp56v1RweLMdB53meAwdF02cGM=; b=N0fNr3t6UvfhplTozx Rbz/dUEf8E2IIcKlF41KO5XnFrBj6L4MGi5ZJ1mAfMpi6MR+mqJ5dPSh+9kG+BfI CA/4AhdUHh66wEM3pxcWyta8ITan+L5tSNReyVXAftD0huvpVqXdt6laDtzzj5gx 83vwdiqqUN2ZSuMhGHeiRmf2OV6HO1hvPWcBPGTO0r/3J12aNoSdCtBZVNju0eTM KGor7cTeV6Z4aEl2NpWaUtCTSyJAjQO98T5DoPrtyEIInyR74HhN72d9fYOVIQy4 zBng3qD5Nmp+OY65mM1GDScwT7Iyl+7RSqFqIQyDxxHa8Pwb+41kFeYhorkPSkzm bh7Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1672339215; x=1672425615; bh=XR9sJUSnhveDv OfDAvp56v1RweLMdB53meAwdF02cGM=; b=SVNBHGKcbZ/cWQTSov09qLPC2vaj8 lfh04OXhzg90OzEVhjZhmhtIYYAo2aH43w8+LDTIhz3RjQZQV6Hqm1YGwzqbR2Cj pswyHAIglD7NWMK0dHorfvKGaxDnD7B14giTCexe+EFYjQHgSZMgYt6840tsM/Wq i7f+CQBCzk9ZbhCOH+zHJCDO1h7wwZFU65XgRitp57hrW+9pUR9hjRLBoloG+w3Q Uq3OGAh2tWTjRwhZQHQCZQDYtpo9HnQKVY4onivq03ELq05yWcsObpdxOvfmzyYP ZOkXgcVNrO6tbYHhBAez91wI1iiyqMsaNekGz4TdtJjJR8QTGF56zZ0XA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrieeggdduudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepufgrmhhu vghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecugg ftrfgrthhtvghrnhepudekteeuudehtdelteevgfduvddvjefhfedulefgudevgeeghefg udefiedtveetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 29 Dec 2022 13:40:15 -0500 (EST) From: Samuel Holland To: Alessandro Zummo , Alexandre Belloni , Chen-Yu Tsai , Jernej Skrabec Cc: linux-arm-kernel@lists.infradead.org, linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, Samuel Holland Subject: [PATCH 2/2] rtc: sun6i: Drop the unused has_out_clk flag Date: Thu, 29 Dec 2022 12:40:11 -0600 Message-Id: <20221229184011.62925-2-samuel@sholland.org> X-Mailer: git-send-email 2.37.4 In-Reply-To: <20221229184011.62925-1-samuel@sholland.org> References: <20221229184011.62925-1-samuel@sholland.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221229_104019_931568_D4A73245 X-CRM114-Status: GOOD ( 10.95 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This flag was never used by the driver. Signed-off-by: Samuel Holland Reviewed-by: Jernej Skrabec --- drivers/rtc/rtc-sun6i.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/rtc/rtc-sun6i.c b/drivers/rtc/rtc-sun6i.c index a22358a44e32..52049f139474 100644 --- a/drivers/rtc/rtc-sun6i.c +++ b/drivers/rtc/rtc-sun6i.c @@ -135,7 +135,6 @@ struct sun6i_rtc_clk_data { unsigned long rc_osc_rate; unsigned int fixed_prescaler : 16; unsigned int has_prescaler : 1; - unsigned int has_out_clk : 1; unsigned int export_iosc : 1; unsigned int has_losc_en : 1; unsigned int has_auto_swt : 1; @@ -346,7 +345,6 @@ CLK_OF_DECLARE_DRIVER(sun6i_a31_rtc_clk, "allwinner,sun6i-a31-rtc", static const struct sun6i_rtc_clk_data sun8i_a23_rtc_data = { .rc_osc_rate = 667000, /* datasheet says 600 ~ 700 KHz */ .has_prescaler = 1, - .has_out_clk = 1, }; static void __init sun8i_a23_rtc_clk_init(struct device_node *node) @@ -360,7 +358,6 @@ static const struct sun6i_rtc_clk_data sun8i_h3_rtc_data = { .rc_osc_rate = 16000000, .fixed_prescaler = 32, .has_prescaler = 1, - .has_out_clk = 1, .export_iosc = 1, }; @@ -378,7 +375,6 @@ static const struct sun6i_rtc_clk_data sun50i_h6_rtc_data = { .rc_osc_rate = 16000000, .fixed_prescaler = 32, .has_prescaler = 1, - .has_out_clk = 1, .export_iosc = 1, .has_losc_en = 1, .has_auto_swt = 1, @@ -409,7 +405,6 @@ CLK_OF_DECLARE_DRIVER(sun8i_r40_rtc_clk, "allwinner,sun8i-r40-rtc", static const struct sun6i_rtc_clk_data sun8i_v3_rtc_data = { .rc_osc_rate = 32000, - .has_out_clk = 1, }; static void __init sun8i_v3_rtc_clk_init(struct device_node *node)