[PATCH] ASoC: cs35l45: Make bmc150_magn_remove() return void
Charles Keepax
ckeepax at opensource.cirrus.com
Fri May 20 16:47:38 CEST 2022
On Fri, May 20, 2022 at 03:57:40PM +0200, 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>
> ---
The subject line needs fixed up but otherwise I think the patch
looks good.
Thanks,
Charles
More information about the Alsa-devel
mailing list