mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-30 16:51:41 +00:00
Use AcpiUtStrupr() instead of strupr() as the latter will disappear in
future versions of acpica. MFC after: 2 weeks
This commit is contained in:
parent
b460c6f86b
commit
b3919c8d96
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145059
@ -733,7 +733,7 @@ EcGpeQueryHandler(void *Context)
|
||||
|
||||
/* Evaluate _Qxx to respond to the controller. */
|
||||
sprintf(qxx, "_Q%02x", Data);
|
||||
strupr(qxx);
|
||||
AcpiUtStrupr(qxx);
|
||||
Status = AcpiEvaluateObject(sc->ec_handle, qxx, NULL, NULL);
|
||||
if (ACPI_FAILURE(Status) && Status != AE_NOT_FOUND) {
|
||||
ACPI_VPRINT(sc->ec_dev, acpi_device_get_parent_softc(sc->ec_dev),
|
||||
|
Loading…
Reference in New Issue
Block a user