[PATCH v2 3/5] ASoC: mchp-spdiftx: remove references to mchp_i2s_caps
Mark Brown
broonie at kernel.org
Tue Jul 26 12:47:31 CEST 2022
On Mon, Jul 25, 2022 at 04:09:23PM +0300, Claudiu Beznea wrote:
> @@ -782,11 +780,6 @@ static int mchp_spdiftx_probe(struct platform_device *pdev)
> if (!dev)
> return -ENOMEM;
>
> - /* Get hardware capabilities. */
> - match = of_match_node(mchp_spdiftx_dt_ids, np);
> - if (match)
> - dev->caps = match->data;
> -
This breaks an x86_64 allmodconfig build:
/build/stage/linux/sound/soc/atmel/mchp-spdiftx.c: In function ‘mchp_spdiftx_pro
be’:
/build/stage/linux/sound/soc/atmel/mchp-spdiftx.c:766:29: error: unused variable
‘np’ [-Werror=unused-variable]
766 | struct device_node *np = pdev->dev.of_node;
| ^~
cc1: all warnings being treated as errors
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20220726/494276af/attachment.sig>
More information about the Alsa-devel
mailing list