amdgpio: small formatting cleanup

MFC after:	2 weeks
This commit is contained in:
Andriy Gapon 2019-05-24 06:07:33 +00:00
parent cada7eafac
commit ed3f0b8a21

View File

@ -352,14 +352,13 @@ amdgpio_probe(device_t dev)
{
static char *gpio_ids[] = { "AMD0030", "AMDI0030", NULL };
int rv;
if (acpi_disabled("gpio"))
return (ENXIO);
rv = ACPI_ID_PROBE(device_get_parent(dev), dev, gpio_ids, NULL);
if (rv <= 0)
device_set_desc(dev, "AMD GPIO Controller");
return (rv);
}