Source-Changes-HG archive

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

[src/thorpej-i2c-spi-conf]: src/sys/dev/i2c Correct a comment.



details:   https://anonhg.NetBSD.org/src/rev/9c7759f4fa64
branches:  thorpej-i2c-spi-conf
changeset: 378793:9c7759f4fa64
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue May 18 23:26:46 2021 +0000

description:
Correct a comment.

diffstat:

 sys/dev/i2c/i2c.c |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r f02961c9628d -r 9c7759f4fa64 sys/dev/i2c/i2c.c
--- a/sys/dev/i2c/i2c.c Tue May 18 01:24:39 2021 +0000
+++ b/sys/dev/i2c/i2c.c Tue May 18 23:26:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i2c.c,v 1.78.2.6 2021/05/17 00:05:56 thorpej Exp $     */
+/*     $NetBSD: i2c.c,v 1.78.2.7 2021/05/18 23:26:46 thorpej Exp $     */
 
 /*-
  * Copyright (c) 2021 The NetBSD Foundation, Inc.
@@ -69,7 +69,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i2c.c,v 1.78.2.6 2021/05/17 00:05:56 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i2c.c,v 1.78.2.7 2021/05/18 23:26:46 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -678,9 +678,8 @@ iic_attach(device_t parent, device_t sel
                aprint_error_dev(self, "couldn't establish power handler\n");
 
        /*
-        * Attempt to enumerate the devices on the bus.  If
-        * there is no enumeration method, or no devices are
-        * found, then we will attempt indirect configuration.
+        * Attempt to enumerate the devices on the bus.  If there is no
+        * enumeration method, then we will attempt indirect configuration.
         */
        struct i2c_enumerate_devices_args enumargs;
        struct i2c_attach_args ia;



Home | Main Index | Thread Index | Old Index