milos-linux/drivers/macintosh
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
..
ams macintosh: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-06-28 22:08:05 +10:00
adb-iop.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
adb.c [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
adbhid.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
ans-lcd.c
ans-lcd.h
apm_emu.c
Kconfig fbdev: Fix recursive dependencies wrt BACKLIGHT_CLASS_DEVICE 2024-12-17 18:06:10 +01:00
mac_hid.c macintosh: declare ctl_table as const 2024-12-18 13:41:23 +05:30
macio-adb.c macintosh/macio-adb: replace of_node_put() with __free 2024-04-30 21:53:13 +10:00
macio_asic.c dma-mapping: clearly mark DMA ops as an architecture feature 2024-09-04 07:08:51 +03:00
macio_sysfs.c
Makefile
mediabay.c
rack-meter.c powerpc/macio: Make remove callback of macio driver void returned 2024-03-07 23:06:19 +11:00
smu.c mm/memblock: add memblock_alloc_or_panic interface 2025-01-25 20:22:38 -08:00
therm_adt746x.c
therm_windtunnel.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
via-cuda.c
via-macii.c macintosh/via-macii: Fix "BUG: sleeping function called from invalid context" 2024-04-29 16:45:53 +02:00
via-pmu-backlight.c macintosh/via-pmu-backlight: Use backlight power constants 2024-08-07 22:48:26 +10:00
via-pmu-event.c
via-pmu-event.h
via-pmu-led.c macintosh: Use common error handling code in via_pmu_led_init() 2024-11-14 22:54:28 +11:00
via-pmu.c syscore: Pass context data to callbacks 2025-11-14 10:01:52 +01:00
windfarm.h
windfarm_ad7417_sensor.c macintosh: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-06-28 22:08:05 +10:00
windfarm_core.c
windfarm_cpufreq_clamp.c
windfarm_fcu_controls.c macintosh: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-06-28 22:08:05 +10:00
windfarm_lm75_sensor.c
windfarm_lm87_sensor.c macintosh: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-06-28 22:08:05 +10:00
windfarm_max6690_sensor.c macintosh: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-06-28 22:08:05 +10:00
windfarm_mpu.h
windfarm_pid.c
windfarm_pid.h
windfarm_pm72.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
windfarm_pm81.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
windfarm_pm91.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
windfarm_pm112.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
windfarm_pm121.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
windfarm_rm31.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
windfarm_smu_controls.c
windfarm_smu_sat.c macintosh: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-06-28 22:08:05 +10:00
windfarm_smu_sensors.c