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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BAD60C77B78 for ; Wed, 19 Apr 2023 06:30:27 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 7708EEB8; Wed, 19 Apr 2023 08:29:35 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 7708EEB8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1681885825; bh=ktAs8aPKXwLamy7L0LOAzDTiknoH2trEKpDmqdfJ4zg=; h=Date:From:To:Subject:In-Reply-To:References:CC:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=EP5UCNjUYoRddDqAW4nSlWSfY3p0ZQpAWOKKR6dr9a/Rq0qdwxnW+6XZk9SYtB4qj LUuJKkfla5HBCaDYJsrHX/YOYb9CZ4A3ImnNLz07JCDZMjKqhTRrQLpklmZhB/xor5 DSTDy0H1Je8KBe6Ovg5hdmVMrVJOvFa9QFaYBHtw= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id A278FF80510; Wed, 19 Apr 2023 08:28:54 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C0511F80510; Wed, 19 Apr 2023 08:28:50 +0200 (CEST) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 92E89F8019B for ; Wed, 19 Apr 2023 08:28:48 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 92E89F8019B Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=zK7vdgGj; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=XAyNhlNt 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-out2.suse.de (Postfix) with ESMTPS id 15E291FD84; Wed, 19 Apr 2023 06:28:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1681885728; 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=sacuHrbOUS6+cQyU7TKPM4wfq6Bszs3UYCL4nwf7Amo=; b=zK7vdgGj2z3zmOTNykONnpJVYaDhVZSOaa4Wp5UbzUE6kMy5slhIMGx2kbYp+1xkTisTz1 GIr4/D4uXfkGZ70/E687e0KWJ4T8LMS3pI0Q2LRSlRg2zELKwcvC1xlaBB9AxaD0vndWVG lyK3oyXV+jSyax8lltpQS91fP0q0s/4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1681885728; 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=sacuHrbOUS6+cQyU7TKPM4wfq6Bszs3UYCL4nwf7Amo=; b=XAyNhlNt9ap4AKRey2cFAw7iMXNaDIg8CPLgb88mv9JPdRDCXmR/3q0rhgGjMnREVK0w1+ Y3UYoMhk8RDvyiAQ== 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 E58EF1390E; Wed, 19 Apr 2023 06:28:47 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id tCk7Nx+KP2RmJgAAMHmgww (envelope-from ); Wed, 19 Apr 2023 06:28:47 +0000 Date: Wed, 19 Apr 2023 08:28:47 +0200 Message-ID: <87leio2xnk.wl-tiwai@suse.de> From: Takashi Iwai To: Rob Herring Subject: Re: [PATCH] ALSA: Use of_property_read_bool() for boolean properties In-Reply-To: <20230310144734.1546587-1-robh@kernel.org> References: <20230310144734.1546587-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 Message-ID-Hash: OA544FZ2CCW4DY3GRZJHMBMPR3C3U2ZF X-Message-ID-Hash: OA544FZ2CCW4DY3GRZJHMBMPR3C3U2ZF X-MailFrom: tiwai@suse.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Takashi Iwai , devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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. > Convert reading boolean properties to to of_property_read_bool(). > > Signed-off-by: Rob Herring Applied to for-next branch. thanks, Takashi