[PATCH] kunit: device: Fix a NULL vs IS_ERR() check in init()