From nobody Sun Sep 14 22:52:48 2025 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 530C4C54EE9 for ; Tue, 13 Sep 2022 14:47:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232938AbiIMOrI (ORCPT ); Tue, 13 Sep 2022 10:47:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234594AbiIMOoD (ORCPT ); Tue, 13 Sep 2022 10:44:03 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 056986E887; Tue, 13 Sep 2022 07:23:44 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 49F70614DA; Tue, 13 Sep 2022 14:21:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 57E9FC433D6; Tue, 13 Sep 2022 14:21:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1663078903; bh=dqgcicMSD2kRAzU5ZVBwjKEmlRdW45onYHG3fvnKt08=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kbMUY+apg81flMDBAjL0BHKGkF0MFZ/FgDRA0Wa72A5iE2w676gAS7Jjc0VzFVeLv LLzUTE48SGL+5bkxaX16fV0+y1Q/QVfRJi3MXKc6pLVrKEpmdvySUeStQRErivAut3 NcftRZ6IND8yjZJoDAqeB9XU10O5WYisX0boz2QE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Claudiu Beznea , Mark Brown , Nathan Chancellor Subject: [PATCH 5.15 101/121] ASoC: mchp-spdiftx: remove references to mchp_i2s_caps Date: Tue, 13 Sep 2022 16:04:52 +0200 Message-Id: <20220913140401.693673576@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220913140357.323297659@linuxfoundation.org> References: <20220913140357.323297659@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Claudiu Beznea commit 403fcb5118a0f4091001a537e76923031fb45eaf upstream. Remove references to struct mchp_i2s_caps as they are not used. Signed-off-by: Claudiu Beznea Link: https://lore.kernel.org/r/20220727090814.2446111-3-claudiu.beznea@mic= rochip.com Signed-off-by: Mark Brown Cc: Nathan Chancellor Signed-off-by: Greg Kroah-Hartman --- sound/soc/atmel/mchp-spdiftx.c | 8 -------- 1 file changed, 8 deletions(-) --- a/sound/soc/atmel/mchp-spdiftx.c +++ b/sound/soc/atmel/mchp-spdiftx.c @@ -196,7 +196,6 @@ struct mchp_spdiftx_dev { struct clk *pclk; struct clk *gclk; unsigned int fmt; - const struct mchp_i2s_caps *caps; int gclk_enabled:1; }; =20 @@ -766,8 +765,6 @@ static const struct of_device_id mchp_sp MODULE_DEVICE_TABLE(of, mchp_spdiftx_dt_ids); static int mchp_spdiftx_probe(struct platform_device *pdev) { - struct device_node *np =3D pdev->dev.of_node; - const struct of_device_id *match; struct mchp_spdiftx_dev *dev; struct resource *mem; struct regmap *regmap; @@ -781,11 +778,6 @@ static int mchp_spdiftx_probe(struct pla if (!dev) return -ENOMEM; =20 - /* Get hardware capabilities. */ - match =3D of_match_node(mchp_spdiftx_dt_ids, np); - if (match) - dev->caps =3D match->data; - /* Map I/O registers. */ base =3D devm_platform_get_and_ioremap_resource(pdev, 0, &mem); if (IS_ERR(base))