diff options
author | Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com> | 2013-07-23 01:51:20 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-08-06 14:12:21 +0200 |
commit | 62eb4b07f0803d0426eb695bfe6755dd6a2cafb2 (patch) | |
tree | fa0a80fdfa1b60d09df854011b1096eb0306d3c8 /drivers/acpi/bus.c | |
parent | ACPI: Cleanup sparse warning on acpi_os_initialize1() (diff) | |
download | linux-62eb4b07f0803d0426eb695bfe6755dd6a2cafb2.tar.xz linux-62eb4b07f0803d0426eb695bfe6755dd6a2cafb2.zip |
ACPI / scan: Allow platform device creation without any IO resources
Currently, ACPI platform device creation is aborted when there
are no valid IO resources for the device. This approach will not
work if the device has only GPIO as its resource or some custom
resources.
Remove zero resource check and allow platform device creation even
without any valid IO resources.
[rjw: Changelog]
Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/bus.c')
0 files changed, 0 insertions, 0 deletions