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 76D0EC6FA86 for ; Wed, 28 Sep 2022 20:53:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231301AbiI1Uxp (ORCPT ); Wed, 28 Sep 2022 16:53:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232788AbiI1Uxo (ORCPT ); Wed, 28 Sep 2022 16:53:44 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB2592714E; Wed, 28 Sep 2022 13:53:43 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 602CCB82205; Wed, 28 Sep 2022 20:53:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0740CC433B5; Wed, 28 Sep 2022 20:53:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664398421; bh=ocFBmEiwZMRP7w+7fMfISRMoKTm7UBOQU5qR7s5Rmuo=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=k54kgPcXtivmQY4T31/OWA57l84e+fyBWESkWISW1rwRdAGp7C38bnZNgThTBCunQ Pl1N0QYUWSKXTuWoDmxeR8Te7/gwapDrvoZ7mZk8/mW1VcHlctX2uE28mZQUl0Ft0P CWpn2IkbRp5uPEmRwhtIyx3lI/Tko4KgVeyJ26Vg4rLdXD3+YTkKUy/92ECXszn4hU 9Jf7Se7yS0Ul7YOlJ2BMzBdgnin6uJ4tVj9h6uQaxaHUa/ZBzQo3HsXIZ8x0QPsDQ8 DAs1aSbLtL0mH8H/mYoyXHI04y+PBzLuVX7OIfJ4e0B6Z58ExTlLLDbTE8zbABiqrR H88GDad92KG7A== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <50374fb8-563f-6433-12c9-8ff77fa38e83@linaro.org> References: <20220928145958.376288-1-dmitry.baryshkov@linaro.org> <20220928145958.376288-4-dmitry.baryshkov@linaro.org> <50374fb8-563f-6433-12c9-8ff77fa38e83@linaro.org> Subject: Re: [PATCH 03/11] clk: qcom: gcc-msm8974: use ARRAY_SIZE instead of specifying num_parents From: Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org To: Andy Gross , Bjorn Andersson , Dmitry Baryshkov , Konrad Dybcio , Krzysztof Kozlowski , Michael Turquette , Neil Armstrong , Rob Herring , Taniya Das Date: Wed, 28 Sep 2022 13:53:39 -0700 User-Agent: alot/0.10 Message-Id: <20220928205341.0740CC433B5@smtp.kernel.org> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Quoting Neil Armstrong (2022-09-28 08:23:14) > On 28/09/2022 16:59, Dmitry Baryshkov wrote: > > Use ARRAY_SIZE() instead of manually specifying num_parents. This makes > > adding/removing entries to/from parent_data easy and errorproof. > >=20 > > Signed-off-by: Dmitry Baryshkov >=20 > Reviewed-by: Neil Armstrong Please trim replies so I don't have to scroll down to the bottom to find out a single tag was added.