public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Please revert this patch
       [not found] <200408260010.i7Q0A6EB001323@hera.kernel.org>
@ 2004-08-26  3:57 ` Benjamin Herrenschmidt
  0 siblings, 0 replies; only message in thread
From: Benjamin Herrenschmidt @ 2004-08-26  3:57 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Linux Kernel list

Hi Linux !

Please revert that for now, I need to figure out what they were
exactly trying to do and will come up with something if it makes
sense but the patch as-is doesn't.

Thanks,
Ben.

On Thu, 2004-08-26 at 06:21, Linux Kernel Mailing List wrote:
> ChangeSet 1.1870.2.2, 2004/08/25 13:21:22-07:00, khali@linux-fr.org
> 
> 	[PATCH] I2C: keywest class
> 	
> 	This is needed for iBook2 owners to be able to use their ADM1030
> 	hardware monitoring chip. Successfully tested by one user.
> 	
> 	Signed-off-by: Jean Delvare <khali@linux-fr.org>
> 	Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
> 
> 
> 
>  i2c-keywest.c |    2 ++
>  1 files changed, 2 insertions(+)
> 
> 
> diff -Nru a/drivers/i2c/busses/i2c-keywest.c b/drivers/i2c/busses/i2c-keywest.c
> --- a/drivers/i2c/busses/i2c-keywest.c	2004-08-25 17:10:16 -07:00
> +++ b/drivers/i2c/busses/i2c-keywest.c	2004-08-25 17:10:16 -07:00
> @@ -618,6 +618,8 @@
>  		chan->iface = iface;
>  		chan->chan_no = i;
>  		chan->adapter.id = I2C_ALGO_SMBUS;
> +		if (i==1)
> +			chan->adapter.class = I2C_CLASS_HWMON;
>  		chan->adapter.algo = &keywest_algorithm;
>  		chan->adapter.algo_data = NULL;
>  		chan->adapter.client_register = NULL;
> -
> To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-- 
Benjamin Herrenschmidt <benh@kernel.crashing.org>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-08-26  3:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200408260010.i7Q0A6EB001323@hera.kernel.org>
2004-08-26  3:57 ` Please revert this patch Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox