![]() | |||||||||||
Messages in this thread |
On 10/10/06, Jeff Garzik <jeff@garzik.org> wrote: >> - device_create_file(&serio->dev, &atkbd_attr_extra); > - device_create_file(&serio->dev, &atkbd_attr_scroll); > - device_create_file(&serio->dev, &atkbd_attr_set); > - device_create_file(&serio->dev, &atkbd_attr_softrepeat); > - device_create_file(&serio->dev, &atkbd_attr_softraw); > + err = device_create_file(&serio->dev, &atkbd_attr_extra); > + if (err) goto fail_serio; I have a patch that converts atkbd to attribute group and also one that handles errors from input_register_drevice. I will add sysfs error checks there as well. -- Dmitry - 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/ | ||||||||||
| Last update: 2006-10-10 16:01 [from the cache] ©2003-2008 | |||||||||||