Date: Fri, 24 May 2019 06:07:34 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r348229 - head/sys/dev/amdgpio Message-ID: <201905240607.x4O67YvI042442@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avg Date: Fri May 24 06:07:33 2019 New Revision: 348229 URL: https://svnweb.freebsd.org/changeset/base/348229 Log: amdgpio: small formatting cleanup MFC after: 2 weeks Modified: head/sys/dev/amdgpio/amdgpio.c Modified: head/sys/dev/amdgpio/amdgpio.c ============================================================================== --- head/sys/dev/amdgpio/amdgpio.c Fri May 24 06:06:42 2019 (r348228) +++ head/sys/dev/amdgpio/amdgpio.c Fri May 24 06:07:33 2019 (r348229) @@ -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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905240607.x4O67YvI042442>