Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp215787rdb; Thu, 19 Oct 2023 02:11:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHPJGXzCW86829ZgjulRjCW3nVOUuZZTUUVvIfi1DMGs80GmsgNDrburfE0w6Z1wb5HJ4rd X-Received: by 2002:a17:902:9a4b:b0:1c9:bca1:d70c with SMTP id x11-20020a1709029a4b00b001c9bca1d70cmr1649597plv.30.1697706686344; Thu, 19 Oct 2023 02:11:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697706686; cv=none; d=google.com; s=arc-20160816; b=N7AhMVlh+GtBrV9mjwJi9o3BV+HY5/Tlu5iGGWdY4AE1YG0jwRg0bZZzDKVq+55zt7 Jb6b5YgVnNohMnqhCSZXrH+kRbrEl/T2i1uE4WRRR6Bqlro/pVo1CtjAg3IqFIZ+854D IVq8RbAJP/8fG0urN67gC5SJA+AhYO8RcwB9NAtZvrnXkNxNS/Pce0xEZwGv3q2zP++n 5cglkDB+EewYeGGarUxx2Ltrju9nA9eIozfPV7ukJlCPzZBb5cIh3o2Q0QHTEqJacYtv /qOhdFfUphZJ7cewynGh9G9joiGykzNzszznwsJEKr92WyoSfdINqEI+bkXlbmmaLC8W T0sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=a+ADdDxnBBi303vpYwqnS/KW/zZ3NBp1fepetmyfCL8=; fh=h2rWxMY4SxvOMEqGrV/xchcQzxd0rIJ9JihK4jb3J6w=; b=NwRDiLVQjPJ4smhNidCz4GH0vSl8Yu9jWNxTv3I+TH5Wq2khRoKVS0U8F6GqidMBCk WU2uZttzsQpxcs6DTaEKrCvXaNpoD9cM4Hs0W0iFGhTZt3DXXvmHHEm9BS7/Ic990zne qKxfEyxImM6hWr7M/eKMmKdy5FuE77FQ3IgKJGeQFgRz+FUa0IzU5vijSdEMwNI+TTQ4 bfj1mpIZN5yLEwL1bNBhXtfdiUilcuqZ2mgNJsLlKegH7qgPLP5eQw5rMlhorpcz1yc5 oncN6/jPuwF+QslmwiwSs0q3WRxnrVy+3LV1XZEiSnZX7BrtYr7nIuvd9iJmV7HyIpuO BR+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=LRckoRO2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id e19-20020a170902f1d300b001c9af9ace1dsi306073plc.347.2023.10.19.02.11.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 02:11:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=LRckoRO2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 659B880AD110; Thu, 19 Oct 2023 02:11:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344967AbjJSJLD (ORCPT + 99 others); Thu, 19 Oct 2023 05:11:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229830AbjJSJLB (ORCPT ); Thu, 19 Oct 2023 05:11:01 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D382FE; Thu, 19 Oct 2023 02:11:00 -0700 (PDT) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id EE0E96607322; Thu, 19 Oct 2023 10:10:57 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1697706659; bh=ER3TUe4KejFI46uSujfiK3SyQjfv9tLTEI4WwEiaVZU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=LRckoRO2o1NvPjz3os8JbnkLZeOPKZEDzmkO+/Q5kPM6rPWmhl335XsNIEwV19S/X KK/6c/2q/VcWFfOGT3QZ+aG3vnkl9ai4iXYou2yY+6rRYpY33N7TElxICoZmJHGePM DVzrrhbh4HhcxNkAyXvK3k+rTvIxCWzmvYYf0SCyrcj513rGBdQSCETpamHB5kqGCA QUc8Bo/s/MrM4bXE4drGjhojrnBTr0Bj1PgH01dYDo0HU/kuV+JyuMKUUcwrkv8GOe ydkl7meZgHpQsIQ8zjh+vH7nHFQB//qmkce4Zolqd+lpgi1ZPZyEQSepK9VDDYKIy0 nlSmjleo+jslA== Message-ID: <2114ce92-52c2-44ae-8aa6-9061a6646c40@collabora.com> Date: Thu, 19 Oct 2023 11:10:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v10 13/24] drm/mediatek: Manage component's clock with function pointers Content-Language: en-US To: Hsiao Chien Sung , CK Hu , Krzysztof Kozlowski , Matthias Brugger , Rob Herring Cc: Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Fei Shao , Sean Paul , Johnson Wang , "Nancy . Lin" , Moudy Ho , "Jason-JH . Lin" , Nathan Lu , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org References: <20231019055619.19358-1-shawn.sung@mediatek.com> <20231019055619.19358-14-shawn.sung@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <20231019055619.19358-14-shawn.sung@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 19 Oct 2023 02:11:10 -0700 (PDT) Il 19/10/23 07:56, Hsiao Chien Sung ha scritto: > By registering component related functions to the pointers, > we can easily manage them within a for-loop and simplify the > logic of clock control significantly. > > Signed-off-by: Hsiao Chien Sung Reviewed-by: AngeloGioacchino Del Regno