All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ralph Siemsen <ralph.siemsen@linaro.org>
To: linux-renesas-soc@vger.kernel.org
Cc: phil.edworthy@renesas.com,
	Ralph Siemsen <ralph.siemsen@linaro.org>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	linux-clk@vger.kernel.org
Subject: [PATCH 2/3] clk: renesas: r9a06g032: drop some unused fields
Date: Wed, 18 May 2022 13:27:16 -0400	[thread overview]
Message-ID: <20220518172808.1691450-2-ralph.siemsen@linaro.org> (raw)
In-Reply-To: <20220518172808.1691450-1-ralph.siemsen@linaro.org>

Minor cleanup, remove unused fields from struct r9a06g032_clkdesc.

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
---
 drivers/clk/renesas/r9a06g032-clocks.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/clk/renesas/r9a06g032-clocks.c b/drivers/clk/renesas/r9a06g032-clocks.c
index 0baa6a06ada8..9dbcf9620fa0 100644
--- a/drivers/clk/renesas/r9a06g032-clocks.c
+++ b/drivers/clk/renesas/r9a06g032-clocks.c
@@ -47,11 +47,9 @@ struct r9a06g032_clkdesc {
 		struct {
 			u16 div, mul;
 		};
-		unsigned int factor;
-		unsigned int frequency;
 		/* for dual gate */
 		struct {
-			uint16_t group : 1, index: 3;
+			uint16_t group : 1;
 			u16 sel, g1, r1, g2, r2;
 		} dual;
 	};
@@ -84,7 +82,7 @@ struct r9a06g032_clkdesc {
 #define D_UGATE(_idx, _n, _src, _g, _gi, _g1, _r1, _g2, _r2) \
 	{ .type = K_DUALGATE, .index = R9A06G032_##_idx, \
 		.source = 1 + R9A06G032_##_src, .name = _n, \
-		.dual = { .group = _g, .index = _gi, \
+		.dual = { .group = _g, \
 			.g1 = _g1, .r1 = _r1, .g2 = _g2, .r2 = _r2 }, }
 
 enum { K_GATE = 0, K_FFC, K_DIV, K_BITSEL, K_DUALGATE };
-- 
2.25.1


  reply	other threads:[~2022-05-18 17:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-18 17:27 [PATCH 1/3] clk: renesas: r9a06g032: Fix UART clkgrp bitsel Ralph Siemsen
2022-05-18 17:27 ` Ralph Siemsen [this message]
2022-05-18 17:44   ` [PATCH 2/3] clk: renesas: r9a06g032: drop some unused fields Phil Edworthy
2022-05-19  9:41   ` Geert Uytterhoeven
2022-05-18 17:27 ` [PATCH 3/3] clk: renesas: r9a06g032: remove unused field Ralph Siemsen
2022-05-18 17:45   ` Phil Edworthy
2022-05-19  9:41   ` Geert Uytterhoeven
2022-05-18 17:32 ` [PATCH 1/3] clk: renesas: r9a06g032: Fix UART clkgrp bitsel Phil Edworthy
2022-05-18 18:25 ` [PATCH v2 " Ralph Siemsen
2022-05-18 18:32   ` Phil Edworthy
2022-05-19  9:31     ` Geert Uytterhoeven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220518172808.1691450-2-ralph.siemsen@linaro.org \
    --to=ralph.siemsen@linaro.org \
    --cc=geert+renesas@glider.be \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=phil.edworthy@renesas.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.