mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 18:13:41 +02:00
fbdev: sm501fb: Use str_enabled_disabled() helper in sm501fb_init_fb()
Remove hard-coded strings by using the str_enabled_disabled() helper function. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
e4b6b665df
commit
ed3f274b86
|
|
@ -27,6 +27,7 @@
|
|||
#include <linux/clk.h>
|
||||
#include <linux/console.h>
|
||||
#include <linux/io.h>
|
||||
#include <linux/string_choices.h>
|
||||
|
||||
#include <linux/uaccess.h>
|
||||
#include <asm/div64.h>
|
||||
|
|
@ -1712,8 +1713,8 @@ static int sm501fb_init_fb(struct fb_info *fb, enum sm501_controller head,
|
|||
BUG();
|
||||
}
|
||||
|
||||
dev_info(info->dev, "fb %s %sabled at start\n",
|
||||
fbname, enable ? "en" : "dis");
|
||||
dev_info(info->dev, "fb %s %s at start\n",
|
||||
fbname, str_enabled_disabled(enable));
|
||||
|
||||
/* check to see if our routing allows this */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user