aibs: fix a typo in the probe method that was introduced in r339754

Because of that typo the driver would try to attach to every device
on acpi bus.  That disrupted acpi attachment of uart driver, at least.

MFC after:	4 days
X-MFC with:	r339754
This commit is contained in:
Andriy Gapon 2018-12-07 16:01:51 +00:00
parent 1a153f42fa
commit f01b5ed9c8

View File

@ -129,7 +129,7 @@ aibs_probe(device_t dev)
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, aibs_hids, NULL);
if (rv <= 0 )
device_set_desc(dev, "ASUSTeK AI Booster (ACPI ASOC ATK0110)");
return (0);
return (rv);
}
static int