ALSA: hda: Make snd_hdac_display_power() void function
authorTakashi Iwai <tiwai@suse.de>
Sun, 9 Dec 2018 09:04:25 +0000 (10:04 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 11 Dec 2018 07:18:25 +0000 (08:18 +0100)
commit4f799e734094f09feaae89ee75982fac84742c56
treed4721bd977f2f554273b432c0b4453989ee773fd
parent457f3c86d3358beb0ae19774fef8a9035dedd88f
ALSA: hda: Make snd_hdac_display_power() void function

After the recent refactoring, snd_hdac_display_power() doesn't return
any error, hence it can be defined to return void.
This makes many error checks redundant and allows us to reduce them
gracefully.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/hda_component.h
sound/hda/hdac_component.c
sound/pci/hda/hda_intel.c
sound/soc/codecs/hdac_hdmi.c
sound/soc/intel/skylake/skl.c