Thierry Reding
a97fbc3ee3
syscore: Pass context data to callbacks
...
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) <rafael@kernel.org >
Signed-off-by: Thierry Reding <treding@nvidia.com >
2025-11-14 10:01:52 +01:00
..
2022-04-19 21:34:06 +02:00
2019-06-12 20:27:45 +02:00
2022-05-07 22:56:17 +02:00
2024-07-15 13:53:28 +02:00
2024-07-09 15:21:15 +02:00
2022-05-07 22:56:17 +02:00
2025-11-14 10:01:52 +01:00
2024-08-07 14:43:54 +02:00
2022-05-07 22:56:17 +02:00
2025-11-14 10:01:52 +01:00
2022-05-07 22:56:17 +02:00
2023-01-20 11:24:04 +01:00
2023-01-20 11:24:04 +01:00
2025-11-14 10:01:52 +01:00
2022-05-07 22:56:16 +02:00
2025-11-14 10:01:52 +01:00
2022-05-07 22:56:16 +02:00
2023-01-20 11:24:08 +01:00
2017-11-02 11:10:55 +01:00
2019-06-19 17:09:55 +02:00
2023-02-08 22:10:39 +01:00
2022-05-07 22:56:17 +02:00
2023-01-20 11:24:08 +01:00
2023-01-20 11:24:08 +01:00
2022-05-07 22:56:17 +02:00
2023-01-20 11:24:00 +01:00
2022-05-07 22:56:17 +02:00
2025-11-14 10:01:52 +01:00
2022-05-07 22:56:17 +02:00
2025-11-14 10:01:52 +01:00
2022-05-07 22:56:17 +02:00
2022-04-19 16:27:05 +02:00
2025-11-14 10:01:52 +01:00
2023-01-20 11:24:08 +01:00
2022-04-19 16:27:05 +02:00
2017-11-02 11:10:55 +01:00
2022-04-19 16:27:05 +02:00
2017-11-02 11:10:55 +01:00
2023-08-12 10:31:00 +02:00
2022-05-07 22:56:17 +02:00
2022-05-07 22:56:17 +02:00
2022-04-19 16:27:05 +02:00
2023-05-26 13:33:05 +02:00
2022-05-07 22:56:17 +02:00
2025-04-05 10:30:12 +02:00
2023-07-27 15:39:17 +02:00
2022-05-07 22:56:17 +02:00
2025-11-14 10:01:52 +01:00
2022-05-07 22:56:17 +02:00
2024-04-03 13:07:18 +02:00
2025-07-04 09:31:17 +02:00
2022-05-07 22:56:17 +02:00
2022-06-10 14:51:35 +02:00
2015-12-01 21:52:50 +01:00