Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp379130rwe; Tue, 18 Apr 2023 23:44:01 -0700 (PDT) X-Google-Smtp-Source: AKy350ZdDIkhAB4FxAB4dySUOt5kS3JHCGBVpXJHz2tZg6y81VsYBr/wFTdBTfshUR2Kv07utsvG X-Received: by 2002:a17:903:1c5:b0:1a6:83fa:b370 with SMTP id e5-20020a17090301c500b001a683fab370mr5935636plh.2.1681886641211; Tue, 18 Apr 2023 23:44:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681886641; cv=none; d=google.com; s=arc-20160816; b=QcJBYuZ5UI/0Lxv76l/tJuV6Qv8P82vvv5hBQN46kBpBd5NQjf3OD1hRv/Zi+sMyGC 9L0+OK5rPDUe6wT7J6f+ASx6EAOhyw8pNOk2cUiuj59g8d1hM8cFJeVtRzHgo1KhiwnR DLuhLrWVpch5c3Ztc1eAtv9dc5iVUwAavOyf+1VKh+nFQ2jLg/ca5NVoIGkQPk9xng28 vl3JXqyIcYDUlg4O4owuNup9Q0ZQ+d0MKDjhDWY8xMhOr0xA+9Oq+pd4WHqMhWCDWP1J rwOPJzMF5lpeNwGGvIu57L7GVGbR9Cyhxy1C377eadl19eb1U8LbbqFny6+OLBxa1vYh YAcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=WDZk9ptfe7tbUXycBmi8ymyKPOJ3g9Qe7BcZTpGDyuE=; b=wNjWj094mii2p7yq62g58a3zCjeLF38MekwbCYRLhzfZwGVVBexQsOihTBTringguT P+LFeGkVkGKuFhvri/Hap8ut0XGIEyiNwD6U5Qh9pCb9tZjAZ2P46qA3VmFS3DdonskF 1BaJ/hubIJuhQVe0V74dPP5Dx2jIvItwefz2R9EzqV+Xa2jCp0qKN1LQwTf5pUrEgfm5 paI9FCF8GyILJ/i16pGTEgYsXe//PJbrh29kbEYtLs9fiAj7CI0iFUD37VN5DQtAwW+9 wU6gMeP3et5fq3wbQIG1kHCLtG/LGKax1sB1wyPVFdicOZdgMJwGdcb9kCIbrYvngJEK 4X9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=oxwafQ2c; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n2-20020a170902d2c200b001a1faee77fesi16713574plc.302.2023.04.18.23.43.49; Tue, 18 Apr 2023 23:44:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=oxwafQ2c; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232282AbjDSG3I (ORCPT + 99 others); Wed, 19 Apr 2023 02:29:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231667AbjDSG2y (ORCPT ); Wed, 19 Apr 2023 02:28:54 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C999D618A; Tue, 18 Apr 2023 23:28:33 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 47CC4219A4; Wed, 19 Apr 2023 06:28:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1681885712; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WDZk9ptfe7tbUXycBmi8ymyKPOJ3g9Qe7BcZTpGDyuE=; b=oxwafQ2ccV7f7lVYioIxDUV8J+79F/Hzy+DIwUxLlyyH27arC5FHAUaS84Mw+XJWc/jyr2 HEANx4UeTbiXx1QzuAjHtHJrysd/fD/5vYljBqmySsFYASAlnxKviZTKCpAELsaZjyGmUX Qkxil6KIB3yu440jrX4DATXS1g8XodI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1681885712; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WDZk9ptfe7tbUXycBmi8ymyKPOJ3g9Qe7BcZTpGDyuE=; b=xSvNkokDqkNKt6RLNKbJdBIFLqV/S2CkVOHgoj3OjMy99drKd3PYyy5JDeLLUi3OqFM0BS WF36gQuXFp5NFkDQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 161701390E; Wed, 19 Apr 2023 06:28:32 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id YTH2AxCKP2RJJgAAMHmgww (envelope-from ); Wed, 19 Apr 2023 06:28:32 +0000 Date: Wed, 19 Apr 2023 08:28:31 +0200 Message-ID: <87mt342xo0.wl-tiwai@suse.de> From: Takashi Iwai To: Rob Herring Cc: Jaroslav Kysela , Takashi Iwai , devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ALSA: ppc/tumbler: Use of_property_present() for testing DT property presence In-Reply-To: <20230310144733.1546500-1-robh@kernel.org> References: <20230310144733.1546500-1-robh@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 10 Mar 2023 15:47:33 +0100, Rob Herring wrote: > > It is preferred to use typed property access functions (i.e. > of_property_read_ functions) rather than low-level > of_get_property/of_find_property functions for reading properties. As > part of this, convert of_get_property/of_find_property calls to the > recently added of_property_present() helper when we just want to test > for presence of a property and nothing more. > > Signed-off-by: Rob Herring Applied now to for-next branch. thanks, Takashi