aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvic <victorenator@gmail.com>2013-05-22 14:32:10 -0400
committerMatthew Garrett <matthew.garrett@nebula.com>2013-07-10 15:42:45 -0400
commit0ed60654a24c730dcb555da8439e5639253b6eca (patch)
tree5af79446c8d6e84a4d3ce5babf4d2cc45ce2f729
parent38bdd729ca39e1924a31970e41b13b6ce6ec1755 (diff)
asus-wmi: append newline to messages
Append newline to messages. Signed-off-by: Viktar Vauchkevich <victorenator@gmail.com> Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
-rw-r--r--drivers/platform/x86/asus-wmi.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c
index c11b2426dac1..0e58d748d7f6 100644
--- a/drivers/platform/x86/asus-wmi.c
+++ b/drivers/platform/x86/asus-wmi.c
@@ -1045,7 +1045,7 @@ static ssize_t asus_hwmon_pwm1(struct device *dev,
1045 else if (value == 3) 1045 else if (value == 3)
1046 value = 255; 1046 value = 255;
1047 else if (value != 0) { 1047 else if (value != 0) {
1048 pr_err("Unknown fan speed %#x", value); 1048 pr_err("Unknown fan speed %#x\n", value);
1049 value = -1; 1049 value = -1;
1050 } 1050 }
1051 1051
@@ -1557,11 +1557,11 @@ static int asus_wmi_platform_init(struct asus_wmi *asus)
1557 1557
1558 /* INIT enable hotkeys on some models */ 1558 /* INIT enable hotkeys on some models */
1559 if (!asus_wmi_evaluate_method(ASUS_WMI_METHODID_INIT, 0, 0, &rv)) 1559 if (!asus_wmi_evaluate_method(ASUS_WMI_METHODID_INIT, 0, 0, &rv))
1560 pr_info("Initialization: %#x", rv); 1560 pr_info("Initialization: %#x\n", rv);
1561 1561
1562 /* We don't know yet what to do with this version... */ 1562 /* We don't know yet what to do with this version... */
1563 if (!asus_wmi_evaluate_method(ASUS_WMI_METHODID_SPEC, 0, 0x9, &rv)) { 1563 if (!asus_wmi_evaluate_method(ASUS_WMI_METHODID_SPEC, 0, 0x9, &rv)) {
1564 pr_info("BIOS WMI version: %d.%d", rv >> 16, rv & 0xFF); 1564 pr_info("BIOS WMI version: %d.%d\n", rv >> 16, rv & 0xFF);
1565 asus->spec = rv; 1565 asus->spec = rv;
1566 } 1566 }
1567 1567
@@ -1572,7 +1572,7 @@ static int asus_wmi_platform_init(struct asus_wmi *asus)
1572 * The significance of others is yet to be found. 1572 * The significance of others is yet to be found.
1573 */ 1573 */
1574 if (!asus_wmi_evaluate_method(ASUS_WMI_METHODID_SFUN, 0, 0, &rv)) { 1574 if (!asus_wmi_evaluate_method(ASUS_WMI_METHODID_SFUN, 0, 0, &rv)) {
1575 pr_info("SFUN value: %#x", rv); 1575 pr_info("SFUN value: %#x\n", rv);
1576 asus->sfun = rv; 1576 asus->sfun = rv;
1577 } 1577 }
1578 1578
@@ -1712,7 +1712,7 @@ static int asus_wmi_debugfs_init(struct asus_wmi *asus)
1712 1712
1713 asus->debug.root = debugfs_create_dir(asus->driver->name, NULL); 1713 asus->debug.root = debugfs_create_dir(asus->driver->name, NULL);
1714 if (!asus->debug.root) { 1714 if (!asus->debug.root) {
1715 pr_err("failed to create debugfs directory"); 1715 pr_err("failed to create debugfs directory\n");
1716 goto error_debugfs; 1716 goto error_debugfs;
1717 } 1717 }
1718 1718
@@ -1985,17 +1985,17 @@ EXPORT_SYMBOL_GPL(asus_wmi_unregister_driver);
1985static int __init asus_wmi_init(void) 1985static int __init asus_wmi_init(void)
1986{ 1986{
1987 if (!wmi_has_guid(ASUS_WMI_MGMT_GUID)) { 1987 if (!wmi_has_guid(ASUS_WMI_MGMT_GUID)) {
1988 pr_info("Asus Management GUID not found"); 1988 pr_info("Asus Management GUID not found\n");
1989 return -ENODEV; 1989 return -ENODEV;
1990 } 1990 }
1991 1991
1992 pr_info("ASUS WMI generic driver loaded"); 1992 pr_info("ASUS WMI generic driver loaded\n");
1993 return 0; 1993 return 0;
1994} 1994}
1995 1995
1996static void __exit asus_wmi_exit(void) 1996static void __exit asus_wmi_exit(void)
1997{ 1997{
1998 pr_info("ASUS WMI generic driver unloaded"); 1998 pr_info("ASUS WMI generic driver unloaded\n");
1999} 1999}
2000 2000
2001module_init(asus_wmi_init); 2001module_init(asus_wmi_init);