• T
    ALSA: Simplify snd_device_register() variants · 40a4b263
    Takashi Iwai 提交于
    Now that all callers have been replaced with
    snd_device_register_for_dev(), let's drop the obsolete device
    registration code and concentrate only on the code handling struct
    device directly.  That said,
    
    - remove the old snd_device_register(),
    - rename snd_device_register_for_dev() with snd_device_register(),
    - drop superfluous arguments from snd_device_register(),
    - change snd_unregister_device() to pass the device pointer directly
    Reviewed-by: NJaroslav Kysela <perex@perex.cz>
    Signed-off-by: NTakashi Iwai <tiwai@suse.de>
    40a4b263
rawmidi.c 47.9 KB