[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251219142715.19254-1-johan@kernel.org>
Date: Fri, 19 Dec 2025 15:27:12 +0100
From: Johan Hovold <johan@...nel.org>
To: Srinivas Kandagatla <srini@...nel.org>,
Mark Brown <broonie@...nel.org>
Cc: Liam Girdwood <lgirdwood@...il.com>,
linux-sound@...r.kernel.org,
linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org,
Johan Hovold <johan@...nel.org>
Subject: [PATCH 0/3] ASoC: drop bogus container_of() error handling
The dev_to_sdw_dev() helper uses container_of() to return the containing
soundwire device structure of its pointer argument and will never
return NULL.
Johan
Johan (3):
ASoC: codecs: pm4125: drop bogus container_of() error handling
ASoC: codecs: wcd937x: drop bogus container_of() error handling
ASoC: soc_sdw_utils: drop bogus container_of() error handling
sound/soc/codecs/pm4125.c | 6 ------
sound/soc/codecs/wcd937x.c | 5 -----
sound/soc/sdw_utils/soc_sdw_utils.c | 4 ----
3 files changed, 15 deletions(-)
--
2.51.2
Powered by blists - more mailing lists