]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: codecs: wsa881x: Simplify &pdev->dev in probe
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 21 Jan 2026 02:04:21 +0000 (21:04 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Feb 2026 15:44:21 +0000 (16:44 +0100)
commitea366b05b74e40a549f324f335258d93a8f00c56
tree873b3865cdf275570fe1d999f0872b356a4a4cdf
parentb97b2c9808c9a97e0ce30216fa12096d8b0eaa75
ASoC: codecs: wsa881x: Simplify &pdev->dev in probe

[ Upstream commit c617c9e7024d152426acf9f1aaf01070b6852f13 ]

The probe already stores pointer to &pdev->dev, so use it to make the
code a bit easier to read.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230102114152.297305-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Stable-dep-of: 29d71b8a5a40 ("ASoC: codecs: wsa881x: fix unnecessary initialisation")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/wsa881x.c