+3
−8
+2
−3
+5
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>