use appropriate logging interface pr_info instead of printk without KERN_INFO with it. It could be updated with proper logging interfaces.
Legacy printk() calls in the i810 fbdev driver can be replaced with the standard kernel logging interface pr_info() which will help to allow proper log level handling, making messages easier to filter and manage. No functional changes to the driver behavior are introduced. Only the logging method has been updated to follow modern kernel coding guidelines. Signed-off-by: Shi Hao <[email protected]> --- drivers/video/fbdev/i810/i810_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/i810/i810_main.c b/drivers/video/fbdev/i810/i810_main.c index d73a795fe1be..8c4b9eae151d 100644 --- a/drivers/video/fbdev/i810/i810_main.c +++ b/drivers/video/fbdev/i810/i810_main.c @@ -2137,7 +2137,7 @@ static void i810fb_remove_pci(struct pci_dev *dev) unregister_framebuffer(info); i810fb_release_resource(info, par); - printk("cleanup_module: unloaded i810 framebuffer device\n"); + pr_info("cleanup_module: unloaded i810 framebuffer device\n"); } #ifndef MODULE -- 2.51.0
