From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.suse.de (cantor.suse.de [195.135.220.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx1.suse.de", Issuer "CAcert Class 3 Root" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 7FC6ADDF7F for ; Tue, 12 May 2009 17:03:30 +1000 (EST) Date: Mon, 11 May 2009 23:57:43 -0700 From: Greg KH To: Takashi Iwai Subject: Re: [alsa-devel] [PATCH] aoa: remove driver_data direct access of struct device Message-ID: <20090512065743.GA25267@suse.de> References: <4A08828B.7090106@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Cc: linuxppc-dev@ozlabs.org, johannes@sipsolutions.net, Roel Kluin , alsa-devel@alsa-project.org, lkml List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, May 12, 2009 at 08:40:05AM +0200, Takashi Iwai wrote: > At Mon, 11 May 2009 21:54:51 +0200, > Roel Kluin wrote: > > > > To avoid direct access to the driver_data pointer in struct device, the > > functions dev_get_drvdata() and dev_set_drvdata() should be used. > > > > Signed-off-by: Roel Kluin > > The same fix has been already in Greg's tree (and thus in linux-next). > > Greg, is it OK that I take over your patch to sound git tree? Yes, please do, no objection from me at all. thanks, greg k-h