Source-Changes-HG archive

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

[src/thorpej-cfargs]: src/sys/dev/i2c "iic" only has a single interface attri...



details:   https://anonhg.NetBSD.org/src/rev/fae8536e17ee
branches:  thorpej-cfargs
changeset: 1019732:fae8536e17ee
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Mar 28 20:02:29 2021 +0000

description:
"iic" only has a single interface attribute, so no need to be explicit.

diffstat:

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

diffs (26 lines):

diff -r cc915c74027a -r fae8536e17ee sys/dev/i2c/i2c.c
--- a/sys/dev/i2c/i2c.c Sun Mar 28 19:57:50 2021 +0000
+++ b/sys/dev/i2c/i2c.c Sun Mar 28 20:02:29 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i2c.c,v 1.77.2.4 2021/03/22 16:23:44 thorpej Exp $     */
+/*     $NetBSD: i2c.c,v 1.77.2.5 2021/03/28 20:02:29 thorpej Exp $     */
 
 /*
  * Copyright (c) 2003 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i2c.c,v 1.77.2.4 2021/03/22 16:23:44 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i2c.c,v 1.77.2.5 2021/03/28 20:02:29 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -382,7 +382,6 @@
 {
        config_search(self, NULL,
            CFARG_SUBMATCH, iic_search,
-           CFARG_IATTR, ifattr,
            CFARG_LOCATORS, locators,
            CFARG_EOL);
        return 0;



Home | Main Index | Thread Index | Old Index