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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 251FBC433EF for ; Sat, 14 May 2022 17:05:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229436AbiENRFq (ORCPT ); Sat, 14 May 2022 13:05:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234444AbiENRFq (ORCPT ); Sat, 14 May 2022 13:05:46 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50E41320; Sat, 14 May 2022 10:05:44 -0700 (PDT) X-UUID: 91dd7321a0d94518a0ca819ff5634baf-20220515 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.5,REQID:23503d61-b45c-4bde-9ff0-afd6fa43bb21,OB:0,LO B:0,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:45,FILE:0,RULE:Release_Ham,ACT ION:release,TS:45 X-CID-INFO: VERSION:1.1.5,REQID:23503d61-b45c-4bde-9ff0-afd6fa43bb21,OB:0,LOB: 0,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:45,FILE:0,RULE:Release_Ham,ACTIO N:release,TS:45 X-CID-META: VersionHash:2a19b09,CLOUDID:03dd37f2-ab23-4aed-a67b-f96514452486,C OID:fe19aacd932c,Recheck:0,SF:28|17|19|48,TC:nil,Content:-5,EDM:-3,IP:nil, URL:0,File:nil,QS:0,BEC:nil X-UUID: 91dd7321a0d94518a0ca819ff5634baf-20220515 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 2070872199; Sun, 15 May 2022 01:05:38 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.3; Sun, 15 May 2022 01:05:37 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.3 via Frontend Transport; Sun, 15 May 2022 01:05:37 +0800 From: Miles Chen To: CC: , , , , , , , , , , Subject: Re: [PATCH v2 09/11] clk: mediatek: Switch to clk_hw provider APIs Date: Sun, 15 May 2022 01:05:37 +0800 Message-ID: <20220514170537.29364-1-miles.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20220510104804.544597-10-wenst@chromium.org> References: <20220510104804.544597-10-wenst@chromium.org> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org > As part of the effort to improve the MediaTek clk drivers, the next step > is to switch from the old 'struct clk' clk prodivder APIs to the new > 'struct clk_hw' ones. > > In a previous patch, 'struct clk_onecell_data' was replaced with > 'struct clk_hw_onecell_data', with (struct clk_hw *)->clk and > __clk_get_hw() bridging the new data structures and old code. > > Now switch from the old 'clk_(un)?register*()' APIs to the new > 'clk_hw_(un)?register*()' ones. This is done with the coccinelle script > below. > > ... > > Signed-off-by: Chen-Yu Tsai Reviewed-by: Miles Chen