OSDN Git Service

ACPI / OF: Rename of_node() and acpi_node() to to_of_node() and to_acpi_node()
authorAlexander Sverdlin <alexander.sverdlin@gmail.com>
Mon, 22 Jun 2015 20:38:53 +0000 (22:38 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 24 Jun 2015 18:03:10 +0000 (20:03 +0200)
commitc181fb3e723351e2f7a1f76b6c0627a4b8ad1723
tree38b3c10bbb513fd795d166551a291e9fad852ee9
parentb953c0d234bc72e8489d3bf51a276c5c4ec85345
ACPI / OF: Rename of_node() and acpi_node() to to_of_node() and to_acpi_node()

Commit 8a0662d9 introduced of_node and acpi_node symbols in global namespace
but there were already ~63 of_node local variables or function parameters
(no single acpi_node though, but anyway).

After debugging undefined but used of_node local varible (which turned out
to reference static function of_node() instead) it became clear that the names
for the functions are too short and too generic for global scope.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/property.c
drivers/gpio/gpiolib.c
drivers/leds/leds-gpio.c
include/acpi/acpi_bus.h
include/linux/acpi.h
include/linux/of.h