Module Name: src Committed By: thorpej Date: Sun Mar 28 20:25:44 UTC 2021
Modified Files: src/sys/dev/ic [thorpej-cfargs]: apple_smc.c Log Message: This driver only has a single interface attribute, so no need to be expicit about it. That interface attribute has no locators, so don't pass them to config_search(). To generate a diff of this commit: cvs rdiff -u -r1.6.50.1 -r1.6.50.2 src/sys/dev/ic/apple_smc.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/ic/apple_smc.c diff -u src/sys/dev/ic/apple_smc.c:1.6.50.1 src/sys/dev/ic/apple_smc.c:1.6.50.2 --- src/sys/dev/ic/apple_smc.c:1.6.50.1 Sat Mar 20 19:33:40 2021 +++ src/sys/dev/ic/apple_smc.c Sun Mar 28 20:25:44 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: apple_smc.c,v 1.6.50.1 2021/03/20 19:33:40 thorpej Exp $ */ +/* $NetBSD: apple_smc.c,v 1.6.50.2 2021/03/28 20:25:44 thorpej Exp $ */ /* * Apple System Management Controller @@ -34,7 +34,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: apple_smc.c,v 1.6.50.1 2021/03/20 19:33:40 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: apple_smc.c,v 1.6.50.2 2021/03/28 20:25:44 thorpej Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -81,7 +81,7 @@ apple_smc_attach(struct apple_smc_tag *s #endif /* Attach any children. */ - (void)apple_smc_rescan(smc, APPLE_SMC_BUS, NULL); + (void)apple_smc_rescan(smc, NULL, NULL); } int @@ -110,8 +110,6 @@ apple_smc_rescan(struct apple_smc_tag *s /* Let autoconf(9) do the work of finding new children. */ config_search(smc->smc_dev, smc, CFARG_SUBMATCH, apple_smc_search, - CFARG_IATTR, APPLE_SMC_BUS, - CFARG_LOCATORS, locators, CFARG_EOL); return 0; }