]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ALSA: hda: cs35l41: Make cs35l41_hda_remove() return void
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 17 Jan 2022 22:00:55 +0000 (23:00 +0100)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 20 May 2022 12:41:39 +0000 (14:41 +0200)
commit6afe1faf2d3806e3c68846359bba05dee028c3da
treefef2d855fe3068fc95bee967e33f777228c3670a
parent3dfdad48082800d1ae9181a21d36d113b8e30458
ALSA: hda: cs35l41: Make cs35l41_hda_remove() return void

BugLink: https://bugs.launchpad.net/bugs/1965496
Up to now cs35l41_hda_remove() returns zero unconditionally. Make it
return void instead which makes it easier to see in the callers that
there is no error to handle.

Also the return value of i2c and spi remove callbacks is ignored anyway.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220117220055.120955-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
(cherry picked from commit 85c25662d18903874fad585d17fc398a7ba37ab0)
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Acked-by: Andrea Righi <andrea.righi@canonical.com>
Acked-by: Paolo Pisati <paolo.pisati@canonical.com>
sound/pci/hda/cs35l41_hda.c
sound/pci/hda/cs35l41_hda.h
sound/pci/hda/cs35l41_hda_i2c.c
sound/pci/hda/cs35l41_hda_spi.c