Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4588297pxv; Tue, 27 Jul 2021 10:57:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSXWwj26g5bvA7LR7xjVud2zp74Nkj+joK114P1Ce3XipLJ1rt6KLDsO1rjbQITXqYy+6b X-Received: by 2002:aa7:d746:: with SMTP id a6mr28724691eds.296.1627408655444; Tue, 27 Jul 2021 10:57:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627408655; cv=none; d=google.com; s=arc-20160816; b=MIEZg4KvXd2u2Awa4BzKhzQCx/6/lQdtQIQyqEE9Zj/HHE7YaEIxUUtzQeBPnQE02v ZGeh+ki92X6txY/QDi3Nd7jZ8kPQlTr4iA8FPaFPgFld8scSZws+kDEXnWJxMJQSJEBM ZfI26rdseF+xxR/tQxYZgQD/NsCxFIwndmQqFw+FJQWpNd7veDa1HkUdIHJI0ORLnx4N d99CJk/twhgbmSFXnGBDYp1AjuT0f52DiSdkfpBzB3M0ngLw9FgobAF8uifh3nOeGJvp inTFCMWRCl3nT79I00oSNGBbNJCtwjUv1ag8EbckChmYpPgaZiyZHQGg6yzb9XaKHDtU RuPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=V0sWi07F3L3vTmxYYuqVjtOrQs5lT/nKvgb4IxFEKOk=; b=IIsDN0wGbFeDFA1qllqaWXGP47SphNK7E40BTAaKf7MPAJsFHf0+PogbtwQgVt8xuF BfN57QuTQ5ASdAngaEOQDCnaW/PNykxoKfmP4Dea5jc1694gPlwiiKjk8HPt8npzvzt+ n6ZdZOAsQLpv2G8qJHBUHih8JYTNiCOoEHwovZ8QNzs7o8Rr4Rcs7prJ1uYkpaeY81jW 42kRAQSF3mDeNE2pErobWjDJmMOzqlluQLg2BqTdDldHlCtU1+79w52IkGBKPNXl5kgI Vq8ZOWaTjlQZ8FKy8n2ZL9rJnGNz5SGJM7MIEunFWh9DWtf1adQCYalkZmevcuRF66yn Cw5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YR1CPnRF; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cy8si3687815edb.477.2021.07.27.10.57.12; Tue, 27 Jul 2021 10:57:35 -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=@kernel.org header.s=k20201202 header.b=YR1CPnRF; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231731AbhG0RzO (ORCPT + 99 others); Tue, 27 Jul 2021 13:55:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:45280 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230054AbhG0RzN (ORCPT ); Tue, 27 Jul 2021 13:55:13 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7DD0960F4F; Tue, 27 Jul 2021 17:55:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627408513; bh=V0sWi07F3L3vTmxYYuqVjtOrQs5lT/nKvgb4IxFEKOk=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=YR1CPnRFY1EIFAtu4cXf6BnDkmCiOn+Q8ZQSuwcMdkQcbr30iPmFuI+0QwixbcBv9 htcZvZYOoMD4vAb+0vxmzQMaaf6SzqJ+51kNh/6lbYjfjKDfHerj/RicoEIgoL/QqO AGqWFfr77Y1SSy1qX3aA8UJpFPfMUmcUU0Lm6QKo7gDza6L2Lwf8qGGx+tiAM0ivxb ftJYCRuefzbZ4N+UIj/TszJQVzlYaqMqffelZkJ2Ugin4f6fU+2lF43HKDH5W9e9RQ N8qqtYQxfK7XbIC6rqYnSj2nMHORNzC67thY2rjRMzvozSaSw8zlzTCdbWccczHBQK rFVPDkCYOLunw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20210726105719.15793-9-chun-jie.chen@mediatek.com> References: <20210726105719.15793-1-chun-jie.chen@mediatek.com> <20210726105719.15793-9-chun-jie.chen@mediatek.com> Subject: Re: [v14 08/21] clk: mediatek: Add mtk_clk_simple_probe() to simplify clock providers From: Stephen Boyd Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, srv_heupstream@mediatek.com, Project_Global_Chrome_Upstream_Group@mediatek.com, Weiyi Lu , Chun-Jie Chen To: Chun-Jie Chen , Matthias Brugger , Nicolas Boichat , Rob Herring Date: Tue, 27 Jul 2021 10:55:11 -0700 Message-ID: <162740851136.2368309.3574784042718719986@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Chun-Jie Chen (2021-07-26 03:57:06) > 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. >=20 > Signed-off-by: Weiyi Lu > Signed-off-by: Chun-Jie Chen > --- Applied to clk-next