acpi/cstate: Clear saved C-state softc, if attach failed
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 15 Mar 2015 13:36:46 +0000 (21:36 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 16 Mar 2015 02:43:32 +0000 (10:43 +0800)
commit02bba4e7ee76c099fc39be4e122761be22161f51
tree49d1c2de3f29522544623113d9fe7ee448b03fd5
parent4221f7280cb32cbd2292001d52653e01a71872c9
acpi/cstate: Clear saved C-state softc, if attach failed

And install softc during the probe; instead of using (void *)1.
sys/dev/acpica/acpi_cpu_cstate.c