Rafael J. Wysocki 25db115b0b ACPI: Introduce acpi_set_device_status()
Introduce a static inline function for setting the status field
of struct acpi_device on the basis of a supplied u32 number,
acpi_set_device_status(), and use it instead of the horrible
horrible STRUCT_TO_INT() macro wherever applicable.  Having done
that, drop STRUCT_TO_INT() (and pretend that it has never existed).

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
2013-11-22 21:56:06 +01:00
..
2013-11-07 19:31:15 +01:00
2013-09-24 01:46:25 +02:00
2012-01-17 04:19:04 -05:00
2013-11-21 13:47:04 +01:00
2013-10-21 15:12:00 -07:00
2013-10-31 14:37:32 +01:00
2013-10-21 15:12:00 -07:00