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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
---
  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@xxxxxxxxxxxxxxxxxxxxx>



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux