[PATCH] node_device: fix missing return from function nodedevRegister