Commit f9dcf192 authored by Joe Perches's avatar Joe Perches Committed by Matthew Garrett

msi-laptop: pr_<level> neatening

Just making it a bit more like other logging message uses.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent 9a2ffd16
...@@ -447,7 +447,7 @@ static struct platform_device *msipf_device; ...@@ -447,7 +447,7 @@ static struct platform_device *msipf_device;
static int dmi_check_cb(const struct dmi_system_id *id) static int dmi_check_cb(const struct dmi_system_id *id)
{ {
pr_info("Identified laptop model '%s'.\n", id->ident); pr_info("Identified laptop model '%s'\n", id->ident);
return 1; return 1;
} }
...@@ -875,8 +875,7 @@ static int __init msi_init(void) ...@@ -875,8 +875,7 @@ static int __init msi_init(void)
/* Register backlight stuff */ /* Register backlight stuff */
if (acpi_video_backlight_support()) { if (acpi_video_backlight_support()) {
pr_info("Brightness ignored, must be controlled " pr_info("Brightness ignored, must be controlled by ACPI video driver\n");
"by ACPI video driver\n");
} else { } else {
struct backlight_properties props; struct backlight_properties props;
memset(&props, 0, sizeof(struct backlight_properties)); memset(&props, 0, sizeof(struct backlight_properties));
...@@ -930,7 +929,7 @@ static int __init msi_init(void) ...@@ -930,7 +929,7 @@ static int __init msi_init(void)
if (auto_brightness != 2) if (auto_brightness != 2)
set_auto_brightness(auto_brightness); set_auto_brightness(auto_brightness);
pr_info("driver "MSI_DRIVER_VERSION" successfully loaded.\n"); pr_info("driver " MSI_DRIVER_VERSION " successfully loaded\n");
return 0; return 0;
...@@ -978,7 +977,7 @@ static void __exit msi_cleanup(void) ...@@ -978,7 +977,7 @@ static void __exit msi_cleanup(void)
if (auto_brightness != 2) if (auto_brightness != 2)
set_auto_brightness(1); set_auto_brightness(1);
pr_info("driver unloaded.\n"); pr_info("driver unloaded\n");
} }
module_init(msi_init); module_init(msi_init);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment