ALSA: rawmidi: Embed struct device
authorTakashi Iwai <tiwai@suse.de>
Thu, 29 Jan 2015 16:55:52 +0000 (17:55 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 2 Feb 2015 13:42:43 +0000 (14:42 +0100)
Like previous patches, this changes the device management for rawmidi,
embedding the struct device into struct snd_rawmidi.  The required
change is more or less same as hwdep device.

The currently unused dev field is reused as the new embedded struct
field now.

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

Simple merge
Simple merge