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>
Showing
- include/sound/hda_component.h 4 additions, 5 deletionsinclude/sound/hda_component.h
- sound/hda/hdac_component.c 2 additions, 6 deletionssound/hda/hdac_component.c
- sound/pci/hda/hda_intel.c 1 addition, 8 deletionssound/pci/hda/hda_intel.c
- sound/soc/codecs/hdac_hdmi.c 5 additions, 18 deletionssound/soc/codecs/hdac_hdmi.c
- sound/soc/intel/skylake/skl.c 11 additions, 29 deletionssound/soc/intel/skylake/skl.c
Loading
Please register or sign in to comment