Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4102540pxv; Mon, 26 Jul 2021 21:40:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUlOeQ/V4smkNZ6Fa29TZ4YyfcE2iZnNWZOjTNd9gwFjKaeGVZOST3g679GDchgPbYmFOg X-Received: by 2002:a05:6402:274f:: with SMTP id z15mr11357639edd.21.1627360827799; Mon, 26 Jul 2021 21:40:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627360827; cv=none; d=google.com; s=arc-20160816; b=E5yA5WOUgzszqGaL4nCvL92CQ5fQlMRDXwRtE7Ley9Zd0OXmlZsc/JyxF24M+VcSQd 3vPDIFjpMvjlxmdp2Fs6e3lDH+Vv8S5ch37ft7tj2gox2b7hT+6zG6u87BU1OXsuSwT2 RB3OKHcuwvk40j/exHMTWstOQBNbGlakQ6U3afSjIiJlg6c/MPbx07Vo9vZIgK1YMXAd NwAg8640WkVjhBgUzWMvvQa5UgY+ozR8esvohfvWK1RtwVeByLYOS9kC5SfDj7xRZr3S bjyFEzVvmt4snPwf7cd04mui0mYB7kO7L9gAmsNW6aMs4tVPBSyKELFApCOHcOuh+vf/ Pq+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=hCM6aDqQlj672QNNN33XxbB1KA2gsQSovUNFK/0sjFg=; b=rLrmDdmbSqdA9ebxNKwNG7bpdEenyA7CNbO5djMMh/jZg9W+OQ5VZQilonjbVnz1oY ywvv7LFGYLYcpOMdjI+sKI1W9x/GJPDCzEE0XZITWA8Z/wsLKc0isYHz8jT78vEGmtFb KIewzmoc9KWEsCt9LIBMpCf962IwTgNCeHaHI40GeSqflOxZsy7xHZLQAK00gat+8oTq IoACzsYNs/JaI2pfYMalEoB5IOU8yjhon86oK3UZIhAAEarXBXgD+zUyNrwCmzAFDX/A 6JDsokGjM2/UShCIphxcmfM8R3BASCEYD0edEXtwGGM7R+WQ87FMC+o/TEDNvG0bl03c dpPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="DrDU/26Z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g16si1982592ejm.150.2021.07.26.21.40.03; Mon, 26 Jul 2021 21:40:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="DrDU/26Z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234976AbhG0Ei0 (ORCPT + 99 others); Tue, 27 Jul 2021 00:38:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234797AbhG0EiZ (ORCPT ); Tue, 27 Jul 2021 00:38:25 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8282EC061757 for ; Mon, 26 Jul 2021 21:38:25 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id gv20-20020a17090b11d4b0290173b9578f1cso1935348pjb.0 for ; Mon, 26 Jul 2021 21:38:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hCM6aDqQlj672QNNN33XxbB1KA2gsQSovUNFK/0sjFg=; b=DrDU/26Z3jIjjNMzkvdGR9rNb1RDbCZPotepcGCH0snHc/AmzgHXAzzH0SdjaQ1mPy GY84SAdyMr7tNwk6wdulckqzhOojnOhPlp/dW/054ErgQUwYUzUSNHZfm7Pks2+gHnFQ klizi6BgKspN3ulK9gCMxeE/OjsQa4b5VJpiY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hCM6aDqQlj672QNNN33XxbB1KA2gsQSovUNFK/0sjFg=; b=DCqKPRKgeW8N+Bo4U/eN1QXsLKE5QYpQvQitNn98iGGAebxYhmgvyK1t3pTNqf+DWH 0r8p8BcfBZL7Tc8uCm6f1AqD2vvaZiRGHqlzv96cPNV/vpec/cKYBM9XeMGgad+gGb9o Mh+1atqa0bH1Qkw1BHaJ53mah6BNJX4YYz2LNhQClu0SG37q3RXj+Vbj/EzsQGtAU2+t rOnQ+qzVcvTo/MMU5+3pyckvjsIk8zyXRyKUtNXJpjClwuateLhYAr4qbQxXSL4eXdGp 5FcHgfrIOvxH+Wo42uAVRv5WepYUIAxSfVY4FqdcHPpZOGaZ5XnMNSNWTYRtOC+ZwjZZ MtVA== X-Gm-Message-State: AOAM533LpdMQ9WepXnhRl9EeNXdM7IPDyTTcJT6CGTKMTncw6O2iqFdl pivJ2kjVaX9PdoClZaF1yeK7VMir9S/h85sNwbNRvw== X-Received: by 2002:aa7:81d8:0:b029:308:1d33:a5fa with SMTP id c24-20020aa781d80000b02903081d33a5famr20861701pfn.55.1627360705046; Mon, 26 Jul 2021 21:38:25 -0700 (PDT) MIME-Version: 1.0 References: <20210726105719.15793-1-chun-jie.chen@mediatek.com> <20210726105719.15793-9-chun-jie.chen@mediatek.com> In-Reply-To: <20210726105719.15793-9-chun-jie.chen@mediatek.com> From: Ikjoon Jang Date: Tue, 27 Jul 2021 12:38:13 +0800 Message-ID: Subject: Re: [v14 08/21] clk: mediatek: Add mtk_clk_simple_probe() to simplify clock providers To: Chun-Jie Chen Cc: Matthias Brugger , Stephen Boyd , Nicolas Boichat , Rob Herring , "moderated list:ARM/Mediatek SoC support" , open list , "moderated list:ARM/Mediatek SoC support" , linux-clk@vger.kernel.org, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , srv_heupstream , Project_Global_Chrome_Upstream_Group , Weiyi Lu Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 26, 2021 at 7:00 PM Chun-Jie Chen wrote: > > Most of subsystem clock providers only need to register clock gates > in their probe() function. > To reduce the duplicated code by add a generic function. > > Signed-off-by: Weiyi Lu > Signed-off-by: Chun-Jie Chen Reviewed-by: Ikjoon Jang (snip)