device property: Return -ENXIO if there is no suitable FW interface
authorGuenter Roeck <linux@roeck-us.net>
Thu, 27 Aug 2015 03:27:04 +0000 (20:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Aug 2015 21:24:46 +0000 (14:24 -0700)
commit4fa7508e9f1c64ae39516e40ee5495aaa4616ad7
tree259ebc270b24a9496328c9c00be2012f7f01d440
parent3b3ae880266d148bf73a573a766bc9b78c08d805
device property: Return -ENXIO if there is no suitable FW interface

Return -ENXIO if device property array access functions don't find
a suitable firmware interface.

This lets drivers decide if they should use available platform data
instead.

Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/base/property.c