All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] ALSA: core: Make some functions return void
@ 2023-02-07 19:19 ` Uwe Kleine-König
  0 siblings, 0 replies; 20+ messages in thread
From: Uwe Kleine-König @ 2023-02-07 19:19 UTC (permalink / raw)
  To: Jaroslav Kysela, Takashi Iwai, Thierry Reding, Jonathan Hunter,
	Geoff Levand, Michael Ellerman
  Cc: alsa-devel, kernel, Nicholas Piggin, Christophe Leroy,
	linux-tegra, linuxppc-dev

Hello,

while checking in which cases hda_tegra_remove() can return a non-zero value, I
found that actually cannot happen. This series makes the involved functions
return void to make this obvious.

This is a preparation for making platform_driver::remove return void, too.

Best regards
Uwe

Uwe Kleine-König (3):
  ALSA: core: Make snd_card_disconnect() return void
  ALSA: core: Make snd_card_free_when_closed() return void
  ALSA: core: Make snd_card_free() return void

 include/sound/core.h      |  6 +++---
 sound/core/init.c         | 40 ++++++++++++++-------------------------
 sound/pci/hda/hda_tegra.c |  6 ++----
 sound/ppc/snd_ps3.c       |  4 +---
 4 files changed, 20 insertions(+), 36 deletions(-)


base-commit: 05ecb680708a1dbe6554d6fc17e5d9a8a7cb5e6a
-- 
2.39.0


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2023-02-08 13:11 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-07 19:19 [PATCH 0/3] ALSA: core: Make some functions return void Uwe Kleine-König
2023-02-07 19:19 ` Uwe Kleine-König
2023-02-07 19:19 ` [PATCH 1/3] ALSA: core: Make snd_card_disconnect() " Uwe Kleine-König
2023-02-07 19:19 ` [PATCH 2/3] ALSA: core: Make snd_card_free_when_closed() " Uwe Kleine-König
2023-02-07 19:19 ` [PATCH 3/3] ALSA: core: Make snd_card_free() " Uwe Kleine-König
2023-02-07 19:19   ` Uwe Kleine-König
2023-02-08  2:10   ` Geoff Levand
2023-02-08  2:10     ` Geoff Levand
2023-02-08 11:33   ` Thierry Reding
2023-02-08 11:33     ` Thierry Reding
2023-02-08 11:33     ` Thierry Reding
2023-02-08  8:33 ` [PATCH 0/3] ALSA: core: Make some functions " Takashi Sakamoto
2023-02-08  8:33   ` Takashi Sakamoto
2023-02-08  8:33   ` Takashi Sakamoto
2023-02-08  9:25   ` Uwe Kleine-König
2023-02-08  8:39 ` Jaroslav Kysela
2023-02-08  8:39   ` Jaroslav Kysela
2023-02-08 12:41 ` Takashi Iwai
2023-02-08 12:41   ` Takashi Iwai
2023-02-08 12:41   ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.