Re: [PATCH] i2c driver changes for 2.5.66

From: Russell King (rmk@arm.linux.org.uk)
Date: Tue Mar 25 2003 - 03:55:05 EST


On Mon, Mar 24, 2003 at 05:38:00PM -0800, Greg KH wrote:
> static struct i2c_adapter ioc_ops = {
> - .name = "IOC/IOMD",
> .id = I2C_HW_B_IOC,
> .algo_data = &ioc_data,
> .client_register = ioc_client_reg,
> .client_unregister = ioc_client_unreg
> + .dev = {
> + .name = "IOC/IOMD",
> + },
> };

Are you sure that "IOC/IOMD" is a good name to stick in sysfs?
s|/|,| would probably be a good idea.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:19 EST