Source-Changes-HG archive

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

[src/thorpej-cfargs]: src/sys/dev/gpio No need to pass interface attribute or...



details:   https://anonhg.NetBSD.org/src/rev/42d48688b69f
branches:  thorpej-cfargs
changeset: 954094:42d48688b69f
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Mar 28 20:40:30 2021 +0000

description:
No need to pass interface attribute or locators to config_search().

diffstat:

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

diffs (27 lines):

diff -r 3384d187019f -r 42d48688b69f sys/dev/gpio/gpio.c
--- a/sys/dev/gpio/gpio.c       Sun Mar 28 20:39:10 2021 +0000
+++ b/sys/dev/gpio/gpio.c       Sun Mar 28 20:40:30 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gpio.c,v 1.64.10.4 2021/03/21 18:03:32 thorpej Exp $ */
+/* $NetBSD: gpio.c,v 1.64.10.5 2021/03/28 20:40:30 thorpej Exp $ */
 /*     $OpenBSD: gpio.c,v 1.6 2006/01/14 12:33:49 grange Exp $ */
 
 /*
@@ -19,7 +19,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gpio.c,v 1.64.10.4 2021/03/21 18:03:32 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gpio.c,v 1.64.10.5 2021/03/28 20:40:30 thorpej Exp $");
 
 /*
  * General Purpose Input/Output framework.
@@ -192,8 +192,6 @@
 
        config_search(self, NULL,
            CFARG_SUBMATCH, gpio_search,
-           CFARG_IATTR, ifattr,
-           CFARG_LOCATORS, locators,
            CFARG_EOL);
 
        return 0;



Home | Main Index | Thread Index | Old Index