Commit 0ed60654 authored by vic's avatar vic Committed by Matthew Garrett

asus-wmi: append newline to messages

Append newline to messages.
Signed-off-by: default avatarViktar Vauchkevich <victorenator@gmail.com>
Signed-off-by: default avatarMatthew Garrett <matthew.garrett@nebula.com>
parent 38bdd729
...@@ -1045,7 +1045,7 @@ static ssize_t asus_hwmon_pwm1(struct device *dev, ...@@ -1045,7 +1045,7 @@ static ssize_t asus_hwmon_pwm1(struct device *dev,
else if (value == 3) else if (value == 3)
value = 255; value = 255;
else if (value != 0) { else if (value != 0) {
pr_err("Unknown fan speed %#x", value); pr_err("Unknown fan speed %#x\n", value);
value = -1; value = -1;
} }
...@@ -1557,11 +1557,11 @@ static int asus_wmi_platform_init(struct asus_wmi *asus) ...@@ -1557,11 +1557,11 @@ static int asus_wmi_platform_init(struct asus_wmi *asus)
/* INIT enable hotkeys on some models */ /* INIT enable hotkeys on some models */
if (!asus_wmi_evaluate_method(ASUS_WMI_METHODID_INIT, 0, 0, &rv)) if (!asus_wmi_evaluate_method(ASUS_WMI_METHODID_INIT, 0, 0, &rv))
pr_info("Initialization: %#x", rv); pr_info("Initialization: %#x\n", rv);
/* We don't know yet what to do with this version... */ /* We don't know yet what to do with this version... */
if (!asus_wmi_evaluate_method(ASUS_WMI_METHODID_SPEC, 0, 0x9, &rv)) { if (!asus_wmi_evaluate_method(ASUS_WMI_METHODID_SPEC, 0, 0x9, &rv)) {
pr_info("BIOS WMI version: %d.%d", rv >> 16, rv & 0xFF); pr_info("BIOS WMI version: %d.%d\n", rv >> 16, rv & 0xFF);
asus->spec = rv; asus->spec = rv;
} }
...@@ -1572,7 +1572,7 @@ static int asus_wmi_platform_init(struct asus_wmi *asus) ...@@ -1572,7 +1572,7 @@ static int asus_wmi_platform_init(struct asus_wmi *asus)
* The significance of others is yet to be found. * The significance of others is yet to be found.
*/ */
if (!asus_wmi_evaluate_method(ASUS_WMI_METHODID_SFUN, 0, 0, &rv)) { if (!asus_wmi_evaluate_method(ASUS_WMI_METHODID_SFUN, 0, 0, &rv)) {
pr_info("SFUN value: %#x", rv); pr_info("SFUN value: %#x\n", rv);
asus->sfun = rv; asus->sfun = rv;
} }
...@@ -1712,7 +1712,7 @@ static int asus_wmi_debugfs_init(struct asus_wmi *asus) ...@@ -1712,7 +1712,7 @@ static int asus_wmi_debugfs_init(struct asus_wmi *asus)
asus->debug.root = debugfs_create_dir(asus->driver->name, NULL); asus->debug.root = debugfs_create_dir(asus->driver->name, NULL);
if (!asus->debug.root) { if (!asus->debug.root) {
pr_err("failed to create debugfs directory"); pr_err("failed to create debugfs directory\n");
goto error_debugfs; goto error_debugfs;
} }
...@@ -1985,17 +1985,17 @@ EXPORT_SYMBOL_GPL(asus_wmi_unregister_driver); ...@@ -1985,17 +1985,17 @@ EXPORT_SYMBOL_GPL(asus_wmi_unregister_driver);
static int __init asus_wmi_init(void) static int __init asus_wmi_init(void)
{ {
if (!wmi_has_guid(ASUS_WMI_MGMT_GUID)) { if (!wmi_has_guid(ASUS_WMI_MGMT_GUID)) {
pr_info("Asus Management GUID not found"); pr_info("Asus Management GUID not found\n");
return -ENODEV; return -ENODEV;
} }
pr_info("ASUS WMI generic driver loaded"); pr_info("ASUS WMI generic driver loaded\n");
return 0; return 0;
} }
static void __exit asus_wmi_exit(void) static void __exit asus_wmi_exit(void)
{ {
pr_info("ASUS WMI generic driver unloaded"); pr_info("ASUS WMI generic driver unloaded\n");
} }
module_init(asus_wmi_init); module_init(asus_wmi_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