Invert the check logic. No functional change, but I prefer this version.

This commit is contained in:
Nate Lawson 2005-10-24 18:30:57 +00:00
parent ac350b125a
commit c395e805cd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151627

View File

@ -256,10 +256,8 @@ static void
acpi_acad_ac_only(void __unused *arg)
{
if (devclass_get_count(acpi_acad_devclass) > 0)
return;
acpi_UserNotify("ACAD", ACPI_ROOT_OBJECT, 1);
if (devclass_get_count(acpi_acad_devclass) == 0)
acpi_UserNotify("ACAD", ACPI_ROOT_OBJECT, 1);
}
/*