I2C documentation in Linux 2.6

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

 



On Sun, Nov 09, 2003 at 02:33:02PM +0100, Jean Delvare wrote:
> 
> Hi Greg,
> 
> Attached are two updates for inclusion to Documentation/i2c in Linux
> 2.6.

Can you split this into two different email messages, both as patches
that I can apply to the kernel tree?  That makes it a world easier to
apply them.

> +  static struct i2c_driver foo_driver = {
> +    .owner          = THIS_MODULE,
> +    .name           = "Foo version 2.3 driver",
> +    .id             = I2C_DRIVERID_FOO, /* usually from i2c-id.h */

Why is this needed anymore?

> +    .flags          = I2C_DF_NOTIFY,

Are there any usages of this field becides the I2C_DF_NOTIFY?  In a
quick grep, it looks like everyone sets this value, so why even have
this field at all?

thanks,

greg k-h



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

  Powered by Linux