summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>2024-12-10 18:09:36 +0100
committerMark Brown <broonie@kernel.org>2024-12-11 14:23:57 +0100
commita73710a25808a585a2bf0a8325eb16fd6a2f370c (patch)
tree0cb5b9382326541c05aa335f5da6ed503c503cb1 /sound
parentASoC: renesas: rz-ssi: Fix typo on SSI_RATES macro comment (diff)
downloadlinux-a73710a25808a585a2bf0a8325eb16fd6a2f370c.tar.xz
linux-a73710a25808a585a2bf0a8325eb16fd6a2f370c.zip
ASoC: renesas: rz-ssi: Remove pdev member of struct rz_ssi_priv
Remove the pdev member of struct rz_ssi_priv as it is not used. Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Link: https://patch.msgid.link/20241210170953.2936724-8-claudiu.beznea.uj@bp.renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/renesas/rz-ssi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/renesas/rz-ssi.c b/sound/soc/renesas/rz-ssi.c
index 35929160a8a5..b24c323ee05f 100644
--- a/sound/soc/renesas/rz-ssi.c
+++ b/sound/soc/renesas/rz-ssi.c
@@ -99,7 +99,6 @@ struct rz_ssi_stream {
struct rz_ssi_priv {
void __iomem *base;
- struct platform_device *pdev;
struct reset_control *rstc;
struct device *dev;
struct clk *sfr_clk;
@@ -1043,7 +1042,6 @@ static int rz_ssi_probe(struct platform_device *pdev)
if (!ssi)
return -ENOMEM;
- ssi->pdev = pdev;
ssi->dev = &pdev->dev;
ssi->base = devm_platform_get_and_ioremap_resource(pdev, 0, &res);
if (IS_ERR(ssi->base))