acpi_hp(4): Fix acquisition of acpi's softc.
authorSascha Wildner <saw@online.de>
Sun, 25 Mar 2012 12:34:03 +0000 (14:34 +0200)
committerSascha Wildner <saw@online.de>
Sun, 25 Mar 2012 12:34:03 +0000 (14:34 +0200)
commit1f98dfc7b04ec1e721a9e0c505263e582705ba30
tree207ba2f5bf41da43440f0e4a662b9a7e74596593
parent244c342a6ea267fc2448f87dc5703cceae62e47e
acpi_hp(4): Fix acquisition of acpi's softc.

Now that acpi_hp is acpi_wmi's child, the softc must be taken from
its grandparent (acpi).

This fixes a crash in the setup of the sysctl tree.

Reported-by: tuxillo
sys/dev/acpica5/acpi_hp/acpi_hp.c