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 DD156C001DB for ; Sun, 13 Aug 2023 15:23:10 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ak2vZhw7RO5N31dCzVlLSO6R6nhwXookXrwjgnYqxNM=; b=2mU3SEm749WiRK xe4GhND1Cie9D2nQCSn/NwlyWOnilFkQ3nn5fGCwN5kyGdSEphZ5X5LYWWfzWvxTE2F8WyBBms1qo 5JwB1bmeIDTE5AQ9o/FprGg3hWmAxYkZjTl82o7hN7/3tl74V7XRoT6UlChuT94l/fvwHqVdGtvZj vXs0XULTi8sSngkMz0s8bk70rOaLJWRyeAKTBEra/Viu9AGYBkGegT5Ku/Xu2ToB4e9erAoWtBNQR tfyV2m304K6LHfKAyg+dV9yZIRAOy9y9Rn0D1Ga/dwS6JcXJWs5Nti0ZcWcopXn5YIYYxeKRmcTbg HRzy1kBMVVEjQwQzqfIA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qVCvR-00FKK4-1q; Sun, 13 Aug 2023 15:22:41 +0000 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qVCvP-00FKJa-0K for linux-arm-kernel@lists.infradead.org; Sun, 13 Aug 2023 15:22:40 +0000 Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-52557cc5e7bso834750a12.0 for ; Sun, 13 Aug 2023 08:22:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691940155; x=1692544955; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=U72ij9H7xly/POAmuR9nZYqDM563QnNZZvNrcGFMct4=; b=Q3uvwX+W38PXuccnalF83pEuAl0sXt0s0GtTBY/WJuv6AG0oG3EQBjR4HStycfv6HC 4LrvSgwnC5C+IrdaZS2HT8jx+7+oxrTLX5x/uvG1w9mrOL8OsddMgHxXyqRTzgIp6Wx1 j8U5CXH2HSTnXUL9kkWRElcSSBRYeRxeJgydXojH8QBRvfj823ForbSoWBHDiHT5NQO9 LFad+1AEVusqHj8+Zg5HgdAh2gVcGuImQoOXrixHF0DoSLxTvDZN3lzl04rIUBJgMhiS ppD6iFlzhDISDFqgP1DIjSE3+PmaliegaYnmruWtcMEDGpTLhI8an9NQJ6T8M91mek+C gx5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691940155; x=1692544955; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=U72ij9H7xly/POAmuR9nZYqDM563QnNZZvNrcGFMct4=; b=Mui1ubu4M3AQNfp1SRJJ3Mki9hGvzqdi4T5hRwAU94IlMLg1zVKfpcofksjS0stzid Uis89/nG1gBcZGRcNhiN+653r6V3Zt5HI8A2oZZUlZIbdUwAVeHV9aTPX2AqI5NhHwU/ /CmTKl41x/9qORRHFcgoYtoOHVy3vfxAq1jyQU9JLA3Sd1nJkMvQsbn/OSxBPAWJtEuV K96OuWuSW2rrkQ5wZPjZDyYk6a4aQgBy7TmxU/bnRpNcAPmr7/Z8vbTTOXnmTMloCUJR /UTVifGPCDbwzzeIOi0PKGhKdYVxYFXWxvdXkl8wm2xDsocfBKvrqgnUGVurL6IMMkVc OikQ== X-Gm-Message-State: AOJu0YzsHCkDfCkl9vvIlu3MqpKt8Os91wZv6QD2xA4TP1lnVTE9abCQ DCLAFyMPJn3GNieCVpdZHlk= X-Google-Smtp-Source: AGHT+IEq8lcT27+3KXWyXugbFwqrq92P97+ZW1qmGMQsqWgCVvad8+1JiyLdlFsV4rDaqfoiy0EtMg== X-Received: by 2002:a17:906:5a57:b0:99a:e756:57bf with SMTP id my23-20020a1709065a5700b0099ae75657bfmr6293953ejc.7.1691940154549; Sun, 13 Aug 2023 08:22:34 -0700 (PDT) Received: from jernej-laptop.localnet (89-212-118-115.static.t-2.net. [89.212.118.115]) by smtp.gmail.com with ESMTPSA id cd19-20020a170906b35300b0098e42bef732sm4632902ejb.183.2023.08.13.08.22.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Aug 2023 08:22:34 -0700 (PDT) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: perex@perex.cz, tiwai@suse.com, claudiu.beznea@tuxon.dev, lgirdwood@gmail.com, broonie@kernel.org, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, peda@axentia.se, lars@metafoo.de, nuno.sa@analog.com, povik+lin@cutebit.org, wens@csie.org, samuel@sholland.org, robh@kernel.org, u.kleine-koenig@pengutronix.de, alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, asahi@lists.linux.dev, linux-sunxi@lists.linux.dev, Ruan Jinjie Cc: ruanjinjie@huawei.com Subject: Re: [PATCH -next 3/5] ASoC: sunxi: sun4i-spdif: Remove redundant of_match_ptr() Date: Sun, 13 Aug 2023 17:22:31 +0200 Message-ID: <2691934.mvXUDI8C0e@jernej-laptop> In-Reply-To: <20230811071426.2343133-4-ruanjinjie@huawei.com> References: <20230811071426.2343133-1-ruanjinjie@huawei.com> <20230811071426.2343133-4-ruanjinjie@huawei.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230813_082239_164373_40B04884 X-CRM114-Status: GOOD ( 17.92 ) 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: , 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 Dne petek, 11. avgust 2023 ob 09:14:24 CEST je Ruan Jinjie napisal(a): > The driver depends on CONFIG_OF, it is not necessary to use > of_match_ptr() here. > > Signed-off-by: Ruan Jinjie Acked-by: Jernej Skrabec Best regards, Jernej > --- > sound/soc/sunxi/sun4i-spdif.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/soc/sunxi/sun4i-spdif.c b/sound/soc/sunxi/sun4i-spdif.c > index ff18d4113aac..c2b55d2e5fe1 100644 > --- a/sound/soc/sunxi/sun4i-spdif.c > +++ b/sound/soc/sunxi/sun4i-spdif.c > @@ -718,7 +718,7 @@ static const struct dev_pm_ops sun4i_spdif_pm = { > static struct platform_driver sun4i_spdif_driver = { > .driver = { > .name = "sun4i-spdif", > - .of_match_table = of_match_ptr(sun4i_spdif_of_match), > + .of_match_table = sun4i_spdif_of_match, > .pm = &sun4i_spdif_pm, > }, > .probe = sun4i_spdif_probe, _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel