Module Name: src Committed By: tsutsui Date: Sat Mar 11 08:26:24 UTC 2017
Modified Files: src/sys/dev/acpi: acpi_ec.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 src/sys/dev/acpi/acpi_ec.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/acpi/acpi_ec.c diff -u src/sys/dev/acpi/acpi_ec.c:1.74 src/sys/dev/acpi/acpi_ec.c:1.75 --- src/sys/dev/acpi/acpi_ec.c:1.74 Mon Dec 8 16:16:45 2014 +++ src/sys/dev/acpi/acpi_ec.c Sat Mar 11 08:26:23 2017 @@ -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 <jo...@netbsd.org>. @@ -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 @@ acpiec_attach(device_t parent, device_t 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))