[PATCH] net: Fix error handling in netdev_register_kobject