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 78BB7C433F5 for ; Wed, 15 Sep 2021 01:02:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5DCC361184 for ; Wed, 15 Sep 2021 01:02:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235501AbhIOBDs (ORCPT ); Tue, 14 Sep 2021 21:03:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:46804 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234115AbhIOBDq (ORCPT ); Tue, 14 Sep 2021 21:03:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8B6DF6115B; Wed, 15 Sep 2021 01:02:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631667748; bh=ANSWcyS6KAEBQiwpArpYFBmZDTuJhrG4ICfHQwYUUMw=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=YwfWzNvX56raqMt2yRf2oIVJaX69PPZK4y/64veKJRRUpYtBq4WslhQcdZVf1gRMI bIhmDRqKTdVrKIqR9G/rOmh/2Lc9/E67Zk5GOBFNI0S0lgGuoYYKi5SpUIY3R/u0t6 9Iuzgf3Syvmrw6l3//NKiUXwv/GmNud5U9B7cc+PseQQ8s76SNoksd8xSmEqGHe+lt lI6OpwsA7x7j/yxdNFigpig5yxPsjUL5tXEeyA9r/WAP+Bxuzye3GPAD7DotEWbEJu oYJcnJD12T0wLai9VQ1pQXpzlWvkaxMeDs0dB/IlekQsNyoC6YKT4RjfJf3PV1jt2h XpqSOuXWJxWSA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1631521490-17171-5-git-send-email-abel.vesa@nxp.com> References: <1631521490-17171-1-git-send-email-abel.vesa@nxp.com> <1631521490-17171-5-git-send-email-abel.vesa@nxp.com> Subject: Re: [PATCH 4/8] clk: imx: Rework all clk_hw_register_gate2 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:27 -0700 Message-ID: <163166774746.763609.7862662751557629363@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:46) > Instead of having multiple inline functions that were calling > clk_hw_register_gate2, implement a generic low-level __imx_clk_hw_gate2 > 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 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=-9.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham 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 F2292C433EF for ; Wed, 15 Sep 2021 01:05:19 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id C4F6C61244 for ; Wed, 15 Sep 2021 01:05:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org C4F6C61244 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:Message-ID:Date:To:Cc:From:Subject: References:In-Reply-To:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=u0I6Ut/ipssaWPjp3UXjbX5afeVl8S07VwkiKYcSiVU=; b=tfyS98FL5b7ve4 q4x7L/w5+A3pDRJrFEzYT7oVEQ9oXrckYfquFpotgBkgf3c+hcJc2ESLRBNllPgU//DKEDCLgC8SY 0p4C3NVScCc/59hIvszOv23Ec1HW4b5KSbzL21nkc2/npUk6/o3WLvf+9V737MtSBAQGC0fe5ePnv 4Cpxq2gO2DdB1sO6vA6mIfCAyTIYSZibHhY4YN5eYmXC4y1u1qHMqDaXq0gvJ68DULS31Nqw0pJ5C GycocSMuNg18KP3UDBMh2ikxS05XnIuVNCSXmCyJsPUDLn7kp0h4oLQHSpGIRLsxzLNpyX82XWOuy iZ65KwIrgsOMS+IvCqRQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQJJz-007j7o-F7; Wed, 15 Sep 2021 01:02:43 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQJJk-007j55-Th for linux-arm-kernel@lists.infradead.org; Wed, 15 Sep 2021 01:02:30 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8B6DF6115B; Wed, 15 Sep 2021 01:02:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631667748; bh=ANSWcyS6KAEBQiwpArpYFBmZDTuJhrG4ICfHQwYUUMw=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=YwfWzNvX56raqMt2yRf2oIVJaX69PPZK4y/64veKJRRUpYtBq4WslhQcdZVf1gRMI bIhmDRqKTdVrKIqR9G/rOmh/2Lc9/E67Zk5GOBFNI0S0lgGuoYYKi5SpUIY3R/u0t6 9Iuzgf3Syvmrw6l3//NKiUXwv/GmNud5U9B7cc+PseQQ8s76SNoksd8xSmEqGHe+lt lI6OpwsA7x7j/yxdNFigpig5yxPsjUL5tXEeyA9r/WAP+Bxuzye3GPAD7DotEWbEJu oYJcnJD12T0wLai9VQ1pQXpzlWvkaxMeDs0dB/IlekQsNyoC6YKT4RjfJf3PV1jt2h XpqSOuXWJxWSA== MIME-Version: 1.0 In-Reply-To: <1631521490-17171-5-git-send-email-abel.vesa@nxp.com> References: <1631521490-17171-1-git-send-email-abel.vesa@nxp.com> <1631521490-17171-5-git-send-email-abel.vesa@nxp.com> Subject: Re: [PATCH 4/8] clk: imx: Rework all clk_hw_register_gate2 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:27 -0700 Message-ID: <163166774746.763609.7862662751557629363@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210914_180229_012724_0C484789 X-CRM114-Status: UNSURE ( 7.09 ) X-CRM114-Notice: Please train this message. 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Quoting Abel Vesa (2021-09-13 01:24:46) > Instead of having multiple inline functions that were calling > clk_hw_register_gate2, implement a generic low-level __imx_clk_hw_gate2 > and implement the rest as macros that pass on as arguments whatever > is needed in each case. > > Signed-off-by: Abel Vesa > --- Reviewed-by: Stephen Boyd _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel