提交 2291b268 编写于 作者: B Benjamin Romer 提交者: Greg Kroah-Hartman

staging: unisys: refactor visorutil_mod_init()

Fix the function name declaration so it is just one line, and add the missing
brackets to the else clause in the if statement.
Signed-off-by: NBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 670db786
......@@ -51,14 +51,14 @@ static __init uint32_t visorutil_spar_detect(void)
}
}
static __init int
visorutil_mod_init(void)
static __init int visorutil_mod_init(void)
{
if (visorutil_spar_detect()) {
unisys_spar_platform = TRUE;
return 0;
} else
} else {
return -ENODEV;
}
}
static __exit void
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册