From: Thorsten Blum Date: Sun, 12 Jan 2025 15:41:42 +0000 (+0100) Subject: fbdev: sm501fb: Use str_enabled_disabled() helper in sm501fb_init_fb() X-Git-Tag: v6.14-rc1~109^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ed3f274b864b318274e05d035f5be0aed6f00477;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Helge Deller --- diff --git a/drivers/video/fbdev/sm501fb.c b/drivers/video/fbdev/sm501fb.c index 86ecbb2d86db8..7734377b2d87b 100644 --- a/drivers/video/fbdev/sm501fb.c +++ b/drivers/video/fbdev/sm501fb.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include @@ -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 */