]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit798c54c30e6b4f00af44291488c2f2b7f038b7cf
tree02c793b240b7fc8a1d8c0b7d7f6b8bb5048a83ae
parent9c45093a18ad8e71a2ecedc2598ea247f5ffe5a1
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