Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/acpi Remove extra newline during attach.



details:   https://anonhg.NetBSD.org/src/rev/1b741dbaa554
branches:  trunk
changeset: 822282:1b741dbaa554
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Mar 11 08:26:23 2017 +0000

description:
Remove extra newline during attach.

> acpiec0 at acpi0 (EC, PNP0C09)
> : io 0x62,0x66
> acpiec0: using global ACPI lock

acpi_resource_parse() with &acpi_resource_parse_ops_default prints
resouce info and newline.  Found and tested on ThinkPad X21.

diffstat:

 sys/dev/acpi/acpi_ec.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 0e6747adb813 -r 1b741dbaa554 sys/dev/acpi/acpi_ec.c
--- a/sys/dev/acpi/acpi_ec.c    Sat Mar 11 07:23:13 2017 +0000
+++ b/sys/dev/acpi/acpi_ec.c    Sat Mar 11 08:26:23 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi_ec.c,v 1.74 2014/12/08 16:16:45 msaitoh Exp $     */
+/*     $NetBSD: acpi_ec.c,v 1.75 2017/03/11 08:26:23 tsutsui Exp $     */
 
 /*-
  * Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
@@ -59,7 +59,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_ec.c,v 1.74 2014/12/08 16:16:45 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_ec.c,v 1.75 2017/03/11 08:26:23 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/callout.h>
@@ -267,8 +267,6 @@
                aprint_normal(": using %s\n", device_xname(ec_singleton));
                goto fail0;
        }
-       aprint_naive("\n");
-       aprint_normal("\n");
 
        if (!acpiec_parse_gpe_package(self, aa->aa_node->ad_handle,
                                      &gpe_handle, &gpebit))



Home | Main Index | Thread Index | Old Index