[PATCH v2 2/3] nodedev: Mark device initialization complete even in case of an error