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> |
||
|---|---|---|
| .. | ||
| int340x_thermal | ||
| intel_bxt_pmic_thermal.c | ||
| intel_hfi.c | ||
| intel_hfi.h | ||
| intel_pch_thermal.c | ||
| intel_powerclamp.c | ||
| intel_quark_dts_thermal.c | ||
| intel_soc_dts_iosf.c | ||
| intel_soc_dts_iosf.h | ||
| intel_soc_dts_thermal.c | ||
| intel_tcc.c | ||
| intel_tcc_cooling.c | ||
| Kconfig | ||
| Makefile | ||
| therm_throt.c | ||
| thermal_interrupt.h | ||
| x86_pkg_temp_thermal.c | ||