mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 17:32:32 +00:00
Several drivers can benefit from registering per-instance data along with the syscore operations. To achieve this, move the modifiable fields out of the syscore_ops structure and into a separate struct syscore that can be registered with the framework. Add a void * driver data field for drivers to store contextual data that will be passed to the syscore ops. Acked-by: Rafael J. Wysocki (Intel) <[email protected]> Signed-off-by: Thierry Reding <[email protected]>