Re: [PATCH] i2c driver changes for 2.5.66

Russell King (rmk@arm.linux.org.uk)
Tue, 25 Mar 2003 08:55:05 +0000


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/