ALSA: control: Embed struct device
authorTakashi Iwai <tiwai@suse.de>
Thu, 29 Jan 2015 15:41:27 +0000 (16:41 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 2 Feb 2015 13:42:41 +0000 (14:42 +0100)
commit0fcd9f4b3c60382205e5819c456aa9ea17b6f20f
tree02c793b240b7fc8a1d8c0b7d7f6b8bb5048a83ae
parent4b440be667c6187717c99e4d427119fa415ced29
ALSA: control: Embed struct device

This patch embeds a struct device for the control device into the card
object and avoid the device creation at registration time.

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