]> git.baikalelectronics.ru Git - 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)
committerTakashi Iwai <tiwai@suse.de>
Tue, 18 Jan 2022 13:08:05 +0000 (14:08 +0100)
commit2e68ce11f98a6873dfd7f1290c7ef3bb138ee5f8
treeffe563295705827f82c64dd7419795e56232aac3
parenta9404ffeb9e4d9382ce1b49b3838ad3b9ff5adaa
ALSA: hda: cs35l41: Make cs35l41_hda_remove() return void

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>
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