From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756766AbZEKVmj (ORCPT ); Mon, 11 May 2009 17:42:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758467AbZEKVlw (ORCPT ); Mon, 11 May 2009 17:41:52 -0400 Received: from kroah.org ([198.145.64.141]:60444 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757952AbZEKVlv (ORCPT ); Mon, 11 May 2009 17:41:51 -0400 Date: Mon, 11 May 2009 14:06:22 -0700 From: Greg KH To: Stephen Rothwell Cc: Greg Kroah-Hartman , Paul Mackerras , Roel Kluin , Benjamin Herrenschmidt , linux-kernel@vger.kernel.org Subject: Re: [PATCH] hvcs: remove driver_data direct access of struct device Message-ID: <20090511210622.GD31999@kroah.com> References: <20090504195801.GA22677@kroah.com> <20090505094845.6e9b5bab.sfr@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090505094845.6e9b5bab.sfr@canb.auug.org.au> User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 05, 2009 at 09:48:45AM +1000, Stephen Rothwell wrote: > On Mon, 4 May 2009 12:58:01 -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: Paul Mackerras > > Cc: Stephen Rothwell > > Cc: Roel Kluin > > Cc: Benjamin Herrenschmidt > > Signed-off-by: Greg Kroah-Hartman > > Acked-by: Stephen Rothwell Thanks, I've added this to the patch in my tree. greg k-h