From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from opensource2.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 4E877DDDF3 for ; Tue, 5 May 2009 06:41:38 +1000 (EST) Date: Mon, 4 May 2009 21:34:10 +0100 From: Mark Brown To: Greg Kroah-Hartman Subject: Re: [PATCH] sound: remove driver_data direct access of struct device Message-ID: <20090504203410.GA29859@rakim.wolfsonmicro.main> References: <20090504201936.GA23194@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20090504201936.GA23194@kroah.com> Cc: Takashi Iwai , Greg KH , Jaroslav Kysela , linuxppc-dev@ozlabs.org, Ian Molton , Philipp Zabel , Jean Delvare , Johannes Berg , Timur Tabi , Liam Girdwood List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, May 04, 2009 at 01:19:36PM -0700, Greg Kroah-Hartman wrote: > From: Greg Kroah-Hartman > > In the near future, the driver core is going to not allow direct access > to the driver_data pointer in struct device. Instead, the functions > dev_get_drvdata() and dev_set_drvdata() should be used. These functions > have been around since the beginning, so are backwards compatible with > all older kernel versions. > Cc: Takashi Iwai Acked-by: Mark Brown