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: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Benjamin Romer 2014-11-04 11:25:25 -05:00 committed by Greg Kroah-Hartman
parent 670db786db
commit 2291b26874

View file

@ -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