Add a mapping from grandparent driver name to hibernate io function to reduce
authorjmatthew <jmatthew@openbsd.org>
Sat, 10 Feb 2018 05:11:06 +0000 (05:11 +0000)
committerjmatthew <jmatthew@openbsd.org>
Sat, 10 Feb 2018 05:11:06 +0000 (05:11 +0000)
commit3855a6ef30ef0b6a82a6e9a623313f685aaba79a
tree449df06ddd53328c1e461dfc39e3a5f3f6ff0973
parentcda4f3c75dfcef538238651df092bc10d629a494
Add a mapping from grandparent driver name to hibernate io function to reduce
the number of ->dv_parent->dv_parent chains and make this more readable.

ok deraadt@ phessler@
sys/arch/amd64/amd64/hibernate_machdep.c
sys/arch/i386/i386/hibernate_machdep.c