From: Takashi Iwai Subject: [PATCH RFC 0/3] Embed card device into struct snd_card Date: Wed, 12 Feb 2014 12:20:10 +0100 Message-ID: <1392204013-12334-1-git-send-email-tiwai@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 9D9082650BE for ; Wed, 12 Feb 2014 12:20:14 +0100 (CET) Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 884C5ABB2 for ; Wed, 12 Feb 2014 11:20:14 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org The third batch is a more intensive change; now struct device for card-object is embedded in snd_card struct. This makes the presence of the device object presistent, which can be later referred by other devices at the object creation time. Also, along with this change, the refcounting of the card object was changed just to use the standard device refcount. This needs to move the destructor into the device release callback. Onre more batch will follow. Takashi