mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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:
parent
055ecea0aa
commit
aa1d19f1f9
1 changed files with 39 additions and 42 deletions
|
@ -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>");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue