From nobody Sat Feb 7 16:57:41 2026 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 91C3EC6FA82 for ; Tue, 13 Sep 2022 14:26:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232869AbiIMO0Y (ORCPT ); Tue, 13 Sep 2022 10:26:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233812AbiIMOYU (ORCPT ); Tue, 13 Sep 2022 10:24:20 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E62C35B05E; Tue, 13 Sep 2022 07:16:15 -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 B8C546149A; Tue, 13 Sep 2022 14:16:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AFED3C433C1; Tue, 13 Sep 2022 14:16:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1663078575; bh=dqgcicMSD2kRAzU5ZVBwjKEmlRdW45onYHG3fvnKt08=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=InkuhZ5aBuOrHNmbG716dsGUDZD2A8zClNyRs+46BUiMsod4DKMp936WDmoc7jYjf +AgzSXZ22k3J2S7QY5AxcJUtVskC8C9xY6LaJHIXqQi3nY7f3uvDu+SJCy3QKtPRHr xnbyc9sdYAcQ4/dNjAczRTssizuRzmZ6Q57If0/o= 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.19 157/192] ASoC: mchp-spdiftx: remove references to mchp_i2s_caps Date: Tue, 13 Sep 2022 16:04:23 +0200 Message-Id: <20220913140417.850653638@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220913140410.043243217@linuxfoundation.org> References: <20220913140410.043243217@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))