On 06/02/2011 05:43 PM, Corentin Chary wrote: > I think it would be better to not add the file when the camera is not > available. Another option is to return -ENODEV. But printing -1 > doesn't seems right. > Agree, making the node invisible is better. -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html