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 D24FDC433FE for ; Wed, 15 Sep 2021 01:02:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B899961130 for ; Wed, 15 Sep 2021 01:02:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236134AbhIOBDy (ORCPT ); Tue, 14 Sep 2021 21:03:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:46902 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233760AbhIOBDx (ORCPT ); Tue, 14 Sep 2021 21:03:53 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id EFFAA6115B; Wed, 15 Sep 2021 01:02:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631667755; bh=RRPffgxQtg0TBenyX325JZB5/u1TQGW33Q8iZNk0/4o=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=bOpHjHQfLF+yRN3d1ljIo33/ZhSeLlHmHGhbHvmv7TpaX1sFnzrcn2snsW5yavvtG COqYY/WzVNiFU5mKSNB7Xlvh4WyFG5ib1iwyptFXGXIICC8R+a3s6Sug0jqte7Chin BPSomA/QMgbj99hG5erhNTa1k/P5jkm1z35VHgoBUHvbnycfIXTbuyLxY2Bq+RsfoN idCnUkRnbwGtTY0KMDrPzL70HQllU04ODQDyC4IpNnmogcjY5mbFFWzmbNSSTes65q SJiBMjOL5DLqCNCZJMbMTpqirjzukym1liwMBZfrezr+oJhxKoNmVvcN7CcaSlwqnY drSYLa9k8Q99g== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1631521490-17171-6-git-send-email-abel.vesa@nxp.com> References: <1631521490-17171-1-git-send-email-abel.vesa@nxp.com> <1631521490-17171-6-git-send-email-abel.vesa@nxp.com> Subject: Re: [PATCH 5/8] clk: imx: Rework all clk_hw_register_mux 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:33 -0700 Message-ID: <163166775386.763609.9823055816963985491@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:47) > Instead of having multiple inline functions that were calling > clk_hw_register_mux, implement a generic low-level __imx_clk_hw_mux > 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 74AD2C433EF for ; Wed, 15 Sep 2021 01:05:25 +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 4721E6115B for ; Wed, 15 Sep 2021 01:05:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4721E6115B 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=pw8ZWVOBmZRS6LgcgRpXAgScbIuu2FpUVT9J3OO9uqY=; b=Qc9oeZ3Zx26yEs zU3nHOF9gKiR/MZ5gyBpCM3pkEQlrcqRRRrbZRE9j6OleU5zQs4SHiN0B5TeLHQfW3tvISZ44wFVP qR372VkMkepoarw7iAe6WhMOMTLHp9EDztveug+NaFiJiHLqJfZyGUK3tpUgwQJxp0+P61yYer1Rq QbQ0Hg7TEBS4893aRiXL6rL5A25vZdACCKtIEif4xRvl+TWHf+McAMM1LfBa+hzvCToOMS47OBx0F pyxPIPLtVLN0EYBfTtMKx1SEHozge0TYwDglUeni1Q+I8wHHOEvCulc2q50motdM7waz1jnzcfU71 WtpuhFL1m1zD/FYs9yFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQJKB-007jB8-SS; Wed, 15 Sep 2021 01:02:56 +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 1mQJJr-007j6H-Au for linux-arm-kernel@lists.infradead.org; Wed, 15 Sep 2021 01:02:36 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id EFFAA6115B; Wed, 15 Sep 2021 01:02:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631667755; bh=RRPffgxQtg0TBenyX325JZB5/u1TQGW33Q8iZNk0/4o=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=bOpHjHQfLF+yRN3d1ljIo33/ZhSeLlHmHGhbHvmv7TpaX1sFnzrcn2snsW5yavvtG COqYY/WzVNiFU5mKSNB7Xlvh4WyFG5ib1iwyptFXGXIICC8R+a3s6Sug0jqte7Chin BPSomA/QMgbj99hG5erhNTa1k/P5jkm1z35VHgoBUHvbnycfIXTbuyLxY2Bq+RsfoN idCnUkRnbwGtTY0KMDrPzL70HQllU04ODQDyC4IpNnmogcjY5mbFFWzmbNSSTes65q SJiBMjOL5DLqCNCZJMbMTpqirjzukym1liwMBZfrezr+oJhxKoNmVvcN7CcaSlwqnY drSYLa9k8Q99g== MIME-Version: 1.0 In-Reply-To: <1631521490-17171-6-git-send-email-abel.vesa@nxp.com> References: <1631521490-17171-1-git-send-email-abel.vesa@nxp.com> <1631521490-17171-6-git-send-email-abel.vesa@nxp.com> Subject: Re: [PATCH 5/8] clk: imx: Rework all clk_hw_register_mux 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:33 -0700 Message-ID: <163166775386.763609.9823055816963985491@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_180235_436056_6A686EE8 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:47) > Instead of having multiple inline functions that were calling > clk_hw_register_mux, implement a generic low-level __imx_clk_hw_mux > 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