[PATCH v2] ASoC: cs35l45: Make cs35l45_remove() return void

Richard Fitzgerald rf at opensource.cirrus.com
Mon May 23 10:57:12 CEST 2022


On 20/05/2022 18:33, Uwe Kleine-König wrote:
> cs35l45_remove() always returns zero. Make it return no value which
> makes it easier to see in the callers that there is no error to handle.
> 
> Also the return value of i2c driver remove callbacks is ignored anyway.
> This prepares making i2c remove callbacks return void, too.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> ---
>   sound/soc/codecs/cs35l45-i2c.c | 4 +++-
>   sound/soc/codecs/cs35l45.c     | 4 +---
>   sound/soc/codecs/cs35l45.h     | 2 +-
>   3 files changed, 5 insertions(+), 5 deletions(-)
> 

Reviewed-by: Richard Fitzgerald <rf at opensource.cirrus.com>


More information about the Alsa-devel mailing list