John Baldwin c903c5fbae Use devclass_get_count() instead of devclass_get_maxunit() to get the
correct number of acpi_thermalX devices.  Having this wrong caused the
acpi_thermal thread to realloc the array of devices on each loop iteration.

MFC after:	1 week
PR:		kern/118497
Submitted by:	Pasi Parviainen
2007-12-31 15:56:03 +00:00
..
2007-11-08 21:20:34 +00:00
2005-09-11 18:39:03 +00:00
2005-09-11 18:39:03 +00:00
2006-04-21 19:06:29 +00:00
2006-02-21 03:16:58 +00:00