• Lukas Wunner's avatar
    ACPI / utils: Rename acpi_dev_present() · c68ae33e
    Lukas Wunner authored
    acpi_dev_present() was originally named after pci_dev_present()
    to signify the similarity of the two functions.
    
    However Rafael J. Wysocki pointed out that the exported function
    acpi_dev_present() is easily confused with the non-exported
    acpi_device_is_present(). Additionally in ACPI parlance the term
    "present" usually refers to the "device is present" bit returned
    by the _STA control method, yet acpi_dev_present() merely checks
    presence in the namespace. It does not invoke _STA at all, let
    alone check the "device is present" bit.
    
    As suggested by Rafael, rename the function to acpi_dev_found()
    and adjust all existing call sites.
    Signed-off-by: default avatarLukas Wunner <lukas@wunner.de>
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    c68ae33e
Name
Last commit
Last update
..
platform Loading commit data...
acbuffer.h Loading commit data...
acconfig.h Loading commit data...
acexcep.h Loading commit data...
acnames.h Loading commit data...
acoutput.h Loading commit data...
acpi.h Loading commit data...
acpi_bus.h Loading commit data...
acpi_drivers.h Loading commit data...
acpi_io.h Loading commit data...
acpi_lpat.h Loading commit data...
acpi_numa.h Loading commit data...
acpiosxf.h Loading commit data...
acpixf.h Loading commit data...
acrestyp.h Loading commit data...
actbl.h Loading commit data...
actbl1.h Loading commit data...
actbl2.h Loading commit data...
actbl3.h Loading commit data...
actypes.h Loading commit data...
acuuid.h Loading commit data...
apei.h Loading commit data...
button.h Loading commit data...
cppc_acpi.h Loading commit data...
ghes.h Loading commit data...
hed.h Loading commit data...
pdc_intel.h Loading commit data...
processor.h Loading commit data...
reboot.h Loading commit data...
video.h Loading commit data...