ACPI: Constify acpi_bus helper functions, switch to macros
authorSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 21 Jul 2017 11:39:33 +0000 (14:39 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 21 Jul 2017 22:04:50 +0000 (00:04 +0200)
commit8b9d6802583a1ef6977e4b059f9fa848e6882253
treee9665212286a632c2d51b55b171b1cf86482e60b
parent01c1da2897918b718de65abb3070ea6985aecbd1
ACPI: Constify acpi_bus helper functions, switch to macros

Constify arguments to is_acpi_node(), is_acpi_device_node(),
is_acpi_static_node() and acpi_data_node_match(). Make
to_acpi_device_node() and to_acpi_data_node() macros that can cope with
const and non-const arguments.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/acpi/acpi_bus.h