OSDN Git Service

ALSA: timer: Create device with snd_device_alloc()
authorTakashi Iwai <tiwai@suse.de>
Wed, 16 Aug 2023 16:02:50 +0000 (18:02 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 17 Aug 2023 07:24:21 +0000 (09:24 +0200)
commit911fcb76e39e3b85507bae7ccf78af7fc09acdb8
tree142ff54202168dc2734079375350bb56c4c03f89
parentb53a41ee9c7281d961a29a3524bcaacfc9020dd5
ALSA: timer: Create device with snd_device_alloc()

Align with the other components, and use snd_device_alloc() for the
new sound device for timer, too.  No functional changes.

Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
Tested-by: Curtis Malainey <cujomalainey@chromium.org>
Link: https://lore.kernel.org/r/20230816160252.23396-8-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/timer.c