Move checks on attach arguments from attach into match.
authorkettenis <kettenis@openbsd.org>
Tue, 21 Dec 2021 20:53:46 +0000 (20:53 +0000)
committerkettenis <kettenis@openbsd.org>
Tue, 21 Dec 2021 20:53:46 +0000 (20:53 +0000)
commit57ec09467b7f455f3147a55672af90d023f0a861
tree797a47e8cd43959cd082e54c5bb7fd77e346ad58
parent66698d98a92bde33b4cdb82c6d0db668cee89bdf
Move checks on attach arguments from attach into match.

ok anton@, deraadt@
17 files changed:
sys/dev/acpi/ahci_acpi.c
sys/dev/acpi/amdgpio.c
sys/dev/acpi/aplgpio.c
sys/dev/acpi/asmc.c
sys/dev/acpi/bytgpio.c
sys/dev/acpi/ccp_acpi.c
sys/dev/acpi/chvgpio.c
sys/dev/acpi/dwgpio.c
sys/dev/acpi/dwiic_acpi.c
sys/dev/acpi/glkgpio.c
sys/dev/acpi/if_bse_acpi.c
sys/dev/acpi/imxiic_acpi.c
sys/dev/acpi/pchgpio.c
sys/dev/acpi/pluart_acpi.c
sys/dev/acpi/sdhc_acpi.c
sys/dev/acpi/tpm.c
sys/dev/acpi/xhci_acpi.c