From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DCE5CC433FE for ; Wed, 15 Sep 2021 01:02:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BE77C61185 for ; Wed, 15 Sep 2021 01:02:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233752AbhIOBDm (ORCPT ); Tue, 14 Sep 2021 21:03:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:46704 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233152AbhIOBDk (ORCPT ); Tue, 14 Sep 2021 21:03:40 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5B57961184; Wed, 15 Sep 2021 01:02:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631667742; bh=udVh1TAsgPmwNjVn3KUni1r595k3eNrnxx1BzjJPfNg=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=I9/4lsCy5YTCOIxVVE1awPH5K7iDvPLUCXfoJuNOvq6UdgMfWT+8qx9ffMHRFWMyp BLYHPjhBvDBZHqq1v2eYAH7PmI7SmE9C5T9vELkEMB5WDXdI3nFmtsd8rG2BCT6c6a g7nuHkk4odx6yoq7oAM50BZeOyLQl8+jeRvYCKguRsHBV7q+0xX6feucTeY6h01WgN nBc2A8gO6glBjSKOfWf7feZ9o4wkj5Ap1DOh/roAlETLtUgeexdRHZPY9lkXyzvlbC VoVMjqRS48anC59msCPMPmk+yYA6vmJgP1DmTTH4nLaxppzJKOKpkVOSpuKgFU9S5a Esv/qYmjjueyg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1631521490-17171-4-git-send-email-abel.vesa@nxp.com> References: <1631521490-17171-1-git-send-email-abel.vesa@nxp.com> <1631521490-17171-4-git-send-email-abel.vesa@nxp.com> Subject: Re: [PATCH 3/8] clk: imx: Rework all clk_hw_register_gate wrappers From: Stephen Boyd Cc: NXP Linux Team , linux-clk@vger.kernel.org, Linux Kernel Mailing List , linux-arm-kernel@lists.infradead.org, Abel Vesa To: Abel Vesa Date: Tue, 14 Sep 2021 18:02:21 -0700 Message-ID: <163166774126.763609.5220932254449450325@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Abel Vesa (2021-09-13 01:24:45) > Instead of having multiple inline functions that were calling > clk_hw_register_gate, implement a generic low-level __imx_clk_hw_gate > and implement the rest as macros that pass on as arguments whatever > is needed in each case. >=20 > Signed-off-by: Abel Vesa > --- Reviewed-by: Stephen Boyd