summaryrefslogtreecommitdiff
path: root/staging/cli_interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'staging/cli_interface.c')
0 files changed, 0 insertions, 0 deletions
/Documentation/.gitignore?h=nds-private-remove&id=c68ae33e7fb4a010f9a48af3e4b87089dca96551'>c68ae33e7fb4a010f9a48af3e4b87089dca96551 (patch) treea692971cf4b6a9a36b81210d17e33d1107429f1a /Documentation/.gitignore parent9735a22799b9214d17d3c231fe377fc852f042e9 (diff)
ACPI / utils: Rename acpi_dev_present()
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: Lukas Wunner <lukas@wunner.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/.gitignore')