ALSA: ac97: make remove callback of ac97 driver void returned
authorDawei Li <set_pte_at@outlook.com>
Fri, 6 Jan 2023 15:13:49 +0000 (23:13 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 25 Jan 2023 08:34:20 +0000 (09:34 +0100)
commit7351324c6f486ae35865b430c8e30f07da9f378e
tree4b2071e1659befd4456ccca9c5874341788c9e39
parentbea11f0aa17a42303cfe9dae780bfc36f1947605
ALSA: ac97: make remove callback of ac97 driver void returned

Since commit fc7a6209d571 ("bus: Make remove callback return void")
forces bus_type::remove be void-returned, it doesn't make much sense
for any bus based driver implementing remove callbalk to return
non-void to its caller.

As such, change the remove function for ac97 based drivers to return
void.

Signed-off-by: Dawei Li <set_pte_at@outlook.com>
Link: https://lore.kernel.org/r/TYCP286MB2323A5AB1B2578EF4FA15DA7CAFB9@TYCP286MB2323.JPNP286.PROD.OUTLOOK.COM
Signed-off-by: Takashi Iwai <tiwai@suse.de>
drivers/mfd/wm97xx-core.c
include/sound/ac97/codec.h
sound/ac97/bus.c