fonts: Fix coding style

Fix indentation, spaces, and move EXPORT_SYMBOL line to the
appropriate place as a preliminary work.  No actual code change.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Takashi Iwai 2019-06-18 22:34:23 +02:00 committed by Greg Kroah-Hartman
parent 055ecea0aa
commit aa1d19f1f9

View file

@ -90,7 +90,6 @@ static const struct font_desc *fonts[] = {
* specified font.
*
*/
const struct font_desc *find_font(const char *name)
{
unsigned int i;
@ -100,6 +99,7 @@ const struct font_desc *find_font(const char *name)
return fonts[i];
return NULL;
}
EXPORT_SYMBOL(find_font);
/**
@ -116,7 +116,6 @@ const struct font_desc *find_font(const char *name)
* chosen font.
*
*/
const struct font_desc *get_default_font(int xres, int yres, u32 font_w,
u32 font_h)
{
@ -152,8 +151,6 @@ const struct font_desc *get_default_font(int xres, int yres, u32 font_w,
}
return g;
}
EXPORT_SYMBOL(find_font);
EXPORT_SYMBOL(get_default_font);
MODULE_AUTHOR("James Simmons <jsimmons@users.sf.net>");