Re: [PATCH 2.6] i2c: Fix incorrect ID uses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Oct 22, 2005 at 03:48:30PM +0200, Jean Delvare wrote:
> Hi all,
> 
> I am enqueuing the following patch. Driver authors are invited to Ack
> their respective parts, or voice in if anything doesn't look OK.
> 
> Thanks.
> 
> Fix several incorrect uses and redefinitions of i2c IDs.
> In particular:
> * i2c algorithm IDs are gone;
> * i2c IDs must not be defined outside of i2c-id.h.
> 
> Signed-off-by: Jean Delvare <khali at linux-fr.org>
> CC: Henk Vddergonet <henk.at.god.dyndns.org>
> CC: Antonino Daplas <adaplas at pol.net>
> CC: Mark McClelland <mark at alpha.dyndns.org>
> CC: Ladislav Michl <ladis at linux-mips.org>
> CC: Mikael Nousiainen <tmnousia at cc.hut.fi>
> 
> ---
>  drivers/i2c/busses/i2c-prosavage.c |    5 -----
> +++ linux-2.6.14-rc4/drivers/i2c/busses/i2c-prosavage.c	2005-10-22 14:23:00.000000000 +0200
> @@ -83,11 +83,6 @@
>  /*
>   * i2c configuration
>   */
> -#ifndef I2C_HW_B_S3VIA
> -#define I2C_HW_B_S3VIA	0x18	/* S3VIA ProSavage adapter		*/
> -#endif
> -
> -/* delays */
>  #define CYCLE_DELAY	10
>  #define TIMEOUT		(HZ / 2)
>  
Signed-off-by: Henk Vergonet <henk.at.god.dyndns.org>

Good to see some ifdefs removed.

regards,

Henk




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux