summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/cs35l41_hda.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2022-01-17 23:00:55 +0100
committerTakashi Iwai <tiwai@suse.de>2022-01-18 14:08:05 +0100
commit85c25662d18903874fad585d17fc398a7ba37ab0 (patch)
treeffe563295705827f82c64dd7419795e56232aac3 /sound/pci/hda/cs35l41_hda.h
parentALSA: hda: cs35l41: Tidyup code (diff)
downloadlinux-85c25662d18903874fad585d17fc398a7ba37ab0.tar.xz
linux-85c25662d18903874fad585d17fc398a7ba37ab0.zip
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>
Diffstat (limited to 'sound/pci/hda/cs35l41_hda.h')
-rw-r--r--sound/pci/hda/cs35l41_hda.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/cs35l41_hda.h b/sound/pci/hda/cs35l41_hda.h
index 640afc98b686..74951001501c 100644
--- a/sound/pci/hda/cs35l41_hda.h
+++ b/sound/pci/hda/cs35l41_hda.h
@@ -64,6 +64,6 @@ struct cs35l41_hda {
int cs35l41_hda_probe(struct device *dev, const char *device_name, int id, int irq,
struct regmap *regmap);
-int cs35l41_hda_remove(struct device *dev);
+void cs35l41_hda_remove(struct device *dev);
#endif /*__CS35L41_HDA_H__*/