device property: Introduce fwnode_device_is_available()
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 6 Jun 2017 09:37:39 +0000 (12:37 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 22 Jun 2017 00:55:34 +0000 (02:55 +0200)
commit2294b3af05e9b3fe0b84a78971e709037bd7593c
tree36e1766ebc6f3d159ab2bdfca2b71244689b503c
parent3b27d00e7b6d7c889d87fd00df600c495b968e30
device property: Introduce fwnode_device_is_available()

Add fwnode_device_is_available() to tell whether the device corresponding
to a certain fwnode_handle is available for use.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/property.c
drivers/base/property.c
drivers/of/property.c
include/linux/fwnode.h
include/linux/property.h