From patchwork Wed Nov 22 14:23:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 13464971 Authentication-Results: smtp.subspace.kernel.org; dkim=none Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 954C5101; Wed, 22 Nov 2023 06:23:17 -0800 (PST) X-IronPort-AV: E=Sophos;i="6.04,219,1695654000"; d="scan'208";a="183887047" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 22 Nov 2023 23:23:16 +0900 Received: from localhost.localdomain (unknown [10.226.92.150]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id BDB0D4280549; Wed, 22 Nov 2023 23:23:13 +0900 (JST) From: Biju Das To: Michael Turquette , Stephen Boyd Cc: Biju Das , linux-clk@vger.kernel.org, Geert Uytterhoeven , Prabhakar Mahadev Lad , Biju Das , linux-renesas-soc@vger.kernel.org Subject: [PATCH 0/5] Versa3 clock driver enhancements Date: Wed, 22 Nov 2023 14:23:05 +0000 Message-Id: <20231122142310.203169-1-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 This patch series aims to improve Versa3 clock driver. The first patch avoids divide by zero operation The second patch avoid unnecessary structure padding. The third patch makes return type of callback same as return type of struct member. The fourth and fifth patch are cleanup patches. Biju Das (5): clk: versaclock3: Update vc3_get_div() to avoid divide by zero clk: versaclock3: Avoid unnecessary padding clk: versaclock3: Use u8 return type for get_parent() callback clk: versaclock3: Add missing space between ')' and '{' clk: versaclock3: Drop ret variable drivers/clk/clk-versaclock3.c | 88 ++++++++++++++++------------------- 1 file changed, 40 insertions(+), 48 deletions(-)