ACPI: Constify argument to acpi_device_is_present()
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 6 Jun 2017 09:37:36 +0000 (12:37 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 22 Jun 2017 00:55:34 +0000 (02:55 +0200)
commitcde1f95f407a593ad6baf1b7b01daa2c6cbd34fd
tree2797687bbdb77a7a23b39b3d55dd955bf42bdfcc
parent2b8153421de8c29864cb147f241804858440bfa1
ACPI: Constify argument to acpi_device_is_present()

This will be needed in constifying the fwnode API.

The side effects the function had have been moved to the callers.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/device_pm.c
drivers/acpi/internal.h
drivers/acpi/scan.c