From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from services.gcu-squad.org (zone0.gcu-squad.org [212.85.147.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 4F10FDDFC3 for ; Wed, 15 Apr 2009 00:36:26 +1000 (EST) Date: Tue, 14 Apr 2009 16:36:11 +0200 From: Jean Delvare To: Benjamin Herrenschmidt Subject: Re: [PATCH] therm_pm72: Convert to a new-style i2c driver Message-ID: <20090414163611.7fd3ad6d@hyperion.delvare> In-Reply-To: <20090413165100.36b85c68@hyperion.delvare> References: <20090413160927.3b8675b8@hyperion.delvare> <20090413165100.36b85c68@hyperion.delvare> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 13 Apr 2009 16:51:00 +0200, Jean Delvare wrote: > On Mon, 13 Apr 2009 16:09:27 +0200, Jean Delvare wrote: > > The legacy i2c binding model is going away soon, so convert the > > macintosh therm_pm72 driver to the new model or it will break. > > > > This is really a quick and dirty conversion, that should do the trick > > for now, but no doubt that something cleaner can be done if anyone is > > interested. > > > > Signed-off-by: Jean Delvare > > Cc: Benjamin Herrenschmidt > > --- > > Can anyone please run-test this patch? I could only build-test it. > > Damn, I forgot once again. You need to apply the following patch > beforehand: > ftp://ftp.kernel.org/pub/linux/kernel/people/jdelvare/linux-2.6/jdelvare-i2c/i2c-loosen-driver-check.patch > > I'll push this patch to Linus now. This patch is is Linus' tree now: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=935298696f469c0e07c73be687bd055878074ce0 -- Jean Delvare