Hello I thought real programmers count from zero :), Jokes aside, I think it is the convention in the kernel to start from 0 (video0, mmc0....)
Also the patch is wrong, it will always show the info message "led renamed to...", becase led_classdev_register expects 0 when the device has not been renamed, with this patch you will return 1. Best Regards Nacked-by: Ricardo Ribalda Delgado <[email protected]> -- Ricardo Ribalda -- To unsubscribe from this list: send the line "unsubscribe linux-leds" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
