ALSA: Allow to pass the device object to snd_register_device*()
authorTakashi Iwai <tiwai@suse.de>
Thu, 29 Jan 2015 14:53:51 +0000 (15:53 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 2 Feb 2015 13:21:07 +0000 (14:21 +0100)
commit92b7952da8279189aad352efbf9f2e7001de9524
tree9fbe989ba60bafdeeedae4592ffe6762d155becb
parente36f014edff70fc02b3d3d79cead1d58f289332e
ALSA: Allow to pass the device object to snd_register_device*()

This is a preliminary patch for the further work on embedding struct
device into each sound device instance.  It changes
snd_register_device*() helpers to receive the device object directly
for skipping creating a device there.

Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/core.h
sound/core/hwdep.c
sound/core/pcm.c
sound/core/sound.c