Would be better to return the actual return code from kobject_add rather than changing it to ENOMEM