[PATCH 0/3] ASoC: drop bogus container_of() error handling

From: Johan Hovold

Date: Fri Dec 19 2025 - 09:27:57 EST


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