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 BB2B1EB64DD for ; Fri, 11 Aug 2023 07:51:07 +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 C9BDB836; Fri, 11 Aug 2023 09:50:15 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C9BDB836 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1691740265; bh=OdW/fGxAUIcYrse5XRoYlUbYPfBGcpqX7/UgfQQh1SY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=Nhi0BnGRUI3WqT2WecnmP9Q70kkPKjZJEQnZ+3RtOJxDm9tfF92jQ4f6ghN15ZxXe 1c8g7KMiY2o3QvQCJRNiQ6M1A+9NeTY/PgoXpj4+w2OFgijeYY2DZUwnCHrJsrCc/0 VqxpZXIn49p76cYbYDVarzjsnNCp/+QO/3vDdek4= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4E256F80536; Fri, 11 Aug 2023 09:50:08 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id F2008F80166; Fri, 11 Aug 2023 09:50:07 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1A375F80166; Fri, 11 Aug 2023 09:50:04 +0200 (CEST) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) (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 1FAB8F800F4 for ; Fri, 11 Aug 2023 09:49:59 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 1FAB8F800F4 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=UBlAiTnF; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=EZ4x6JSg 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 72C5D21872; Fri, 11 Aug 2023 07:49:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1691740199; 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=3fZI4ubGx1w5dDIafD7wxZftQKheaAMKXq/LEXkbPbQ=; b=UBlAiTnFydLHlpW0t6OltknqJTgJzP9hwcDRGxM8Ye4l0vsd4bqu3ESVY+4kePN5XZFKul nrttAVzhEl3LiLj8i/uT7qAC5XM7rExA+nAr/P0SjDYkPM3XUld+M9z1MwMMnJooqCp1Iv SKirDRtqqYAMMKlZtpRzJPpv+XPo7WQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1691740199; 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=3fZI4ubGx1w5dDIafD7wxZftQKheaAMKXq/LEXkbPbQ=; b=EZ4x6JSgn5rCeN0jITX1s7u7T/CVEwhiqEOBiDxd1hjgDNO88skXCcnZaZO17n8hkhBoYG lCzf1uYyuaEVG6Dg== 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 F4091138E2; Fri, 11 Aug 2023 07:49:58 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 4hsBOibo1WT/bgAAMHmgww (envelope-from ); Fri, 11 Aug 2023 07:49:58 +0000 Date: Fri, 11 Aug 2023 09:49:58 +0200 Message-ID: <87msyyrpax.wl-tiwai@suse.de> From: Takashi Iwai To: Ruan Jinjie Cc: , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH -next 5/5] ALSA: Remove redundant of_match_ptr() In-Reply-To: <20230811071426.2343133-6-ruanjinjie@huawei.com> References: <20230811071426.2343133-1-ruanjinjie@huawei.com> <20230811071426.2343133-6-ruanjinjie@huawei.com> 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: 6FJAWOUHVLOWGS5ARXWVCXE6XF34ZUQD X-Message-ID-Hash: 6FJAWOUHVLOWGS5ARXWVCXE6XF34ZUQD 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 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, 11 Aug 2023 09:14:26 +0200, Ruan Jinjie wrote: > > The driver depends on CONFIG_OF, it is not necessary to use > of_match_ptr() here. > > Signed-off-by: Ruan Jinjie Reviewed-by: Takashi Iwai thanks, Takashi > --- > sound/drivers/serial-generic.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/drivers/serial-generic.c b/sound/drivers/serial-generic.c > index b0262541802a..c8db6c75d133 100644 > --- a/sound/drivers/serial-generic.c > +++ b/sound/drivers/serial-generic.c > @@ -366,7 +366,7 @@ MODULE_DEVICE_TABLE(of, snd_serial_generic_dt_ids); > static struct serdev_device_driver snd_serial_generic_driver = { > .driver = { > .name = "snd-serial-generic", > - .of_match_table = of_match_ptr(snd_serial_generic_dt_ids), > + .of_match_table = snd_serial_generic_dt_ids, > }, > .probe = snd_serial_generic_probe, > }; > -- > 2.34.1 > 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 88424EB64DD for ; Fri, 11 Aug 2023 07:50:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Subject:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mOdnRbci1aX+XagFNFDvWVNYfE/o3vQHcGuy7XzujO4=; b=iQSYI+0iB6MG8U fEZSuFd0US95vQatS6exEnguLFfqWthjq0qyW6vvM6hf6aAGVdA1GRER4SwwNqj/gCF4G9TdXHrRH OdSRYTeOcrkm9wlHWKyxbzcDBXz6PkZB6S4c9np4qC5PAwLiChGJx/aDPt869n+p6FCtS3sO4o1Yc 3pfrjcWXz2UXh8gL/rZKh4LOPylGPFt6d5ke+Q4/ttfe6QhirO5zM5UwNpnPjtpmfPzfwCd7Ng2EE F0xK7FEX2TBSJdoCASAwk+u4z6TWvmSp/7Q2bKsi7nPNnxtJn70OY+PxHVq1I90667Xg/iu0yfon4 +rh5nhdkrVN0E1kmH4zQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qUMuR-009mty-1b; Fri, 11 Aug 2023 07:50:11 +0000 Received: from smtp-out1.suse.de ([2001:67c:2178:6::1c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qUMuN-009mt5-0o for linux-arm-kernel@lists.infradead.org; Fri, 11 Aug 2023 07:50:08 +0000 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 72C5D21872; Fri, 11 Aug 2023 07:49:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1691740199; 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=3fZI4ubGx1w5dDIafD7wxZftQKheaAMKXq/LEXkbPbQ=; b=UBlAiTnFydLHlpW0t6OltknqJTgJzP9hwcDRGxM8Ye4l0vsd4bqu3ESVY+4kePN5XZFKul nrttAVzhEl3LiLj8i/uT7qAC5XM7rExA+nAr/P0SjDYkPM3XUld+M9z1MwMMnJooqCp1Iv SKirDRtqqYAMMKlZtpRzJPpv+XPo7WQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1691740199; 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=3fZI4ubGx1w5dDIafD7wxZftQKheaAMKXq/LEXkbPbQ=; b=EZ4x6JSgn5rCeN0jITX1s7u7T/CVEwhiqEOBiDxd1hjgDNO88skXCcnZaZO17n8hkhBoYG lCzf1uYyuaEVG6Dg== 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 F4091138E2; Fri, 11 Aug 2023 07:49:58 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 4hsBOibo1WT/bgAAMHmgww (envelope-from ); Fri, 11 Aug 2023 07:49:58 +0000 Date: Fri, 11 Aug 2023 09:49:58 +0200 Message-ID: <87msyyrpax.wl-tiwai@suse.de> From: Takashi Iwai To: Ruan Jinjie Subject: Re: [PATCH -next 5/5] ALSA: Remove redundant of_match_ptr() In-Reply-To: <20230811071426.2343133-6-ruanjinjie@huawei.com> References: <20230811071426.2343133-1-ruanjinjie@huawei.com> <20230811071426.2343133-6-ruanjinjie@huawei.com> 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") X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230811_005007_436683_DEBBE45B X-CRM114-Status: GOOD ( 19.91 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: robh@kernel.org, alexandre.belloni@bootlin.com, lars@metafoo.de, alsa-devel@alsa-project.org, samuel@sholland.org, lgirdwood@gmail.com, jernej.skrabec@gmail.com, claudiu.beznea@tuxon.dev, nuno.sa@analog.com, wens@csie.org, broonie@kernel.org, asahi@lists.linux.dev, u.kleine-koenig@pengutronix.de, povik+lin@cutebit.org, tiwai@suse.com, perex@perex.cz, linux-sunxi@lists.linux.dev, peda@axentia.se, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, 11 Aug 2023 09:14:26 +0200, Ruan Jinjie wrote: > > The driver depends on CONFIG_OF, it is not necessary to use > of_match_ptr() here. > > Signed-off-by: Ruan Jinjie Reviewed-by: Takashi Iwai thanks, Takashi > --- > sound/drivers/serial-generic.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/drivers/serial-generic.c b/sound/drivers/serial-generic.c > index b0262541802a..c8db6c75d133 100644 > --- a/sound/drivers/serial-generic.c > +++ b/sound/drivers/serial-generic.c > @@ -366,7 +366,7 @@ MODULE_DEVICE_TABLE(of, snd_serial_generic_dt_ids); > static struct serdev_device_driver snd_serial_generic_driver = { > .driver = { > .name = "snd-serial-generic", > - .of_match_table = of_match_ptr(snd_serial_generic_dt_ids), > + .of_match_table = snd_serial_generic_dt_ids, > }, > .probe = snd_serial_generic_probe, > }; > -- > 2.34.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel