• T
    ALSA: hda - convert to hda_device_id · b9a94a9c
    Takashi Iwai 提交于
    Finally we have a proper infrastructure to generate the modaliases
    automatically, let's move to hda_device_id from the legacy
    hda_codec_preset that contains basically the same information.
    
    The patch function hook is stored in driver_data field, which is long,
    and we need an explicit cast.  Other than that, the conversion is
    mostly straightforward.  Each entry is even simplified using a macro,
    and the lengthy (and error-prone) manual modaliases got removed.
    
    As a result, we achieved a quite good diet:
     14 files changed, 407 insertions(+), 595 deletions(-)
    Reviewed-by: NVinod Koul <vinod.koul@intel.com>
    Tested-by: NSubhransu S Prusty <subhransu.s.prusty@intel.com>
    Signed-off-by: NTakashi Iwai <tiwai@suse.de>
    b9a94a9c
patch_si3054.c 9.0 KB