linux/drivers/macintosh
Frederic Weisbecker 080b5c6d95 sched/cputime: Remove superfluous and error prone kcpustat_field() parameter
The first parameter to kcpustat_field() is a pointer to the cpu kcpustat to
be fetched from. This parameter is error prone because a copy to a kcpustat
could be passed by accident instead of the original one. Also the kcpustat
structure can already be retrieved with the help of the mandatory CPU
argument.

Remove the needless parameter.

Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Tested-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Link: https://patch.msgid.link/20260508131647.43868-4-frederic@kernel.org
2026-06-02 21:27:25 +02: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 Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
adbhid.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ans-lcd.c macintosh: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
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 Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
macio_asic.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
macio_sysfs.c macintosh: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
macio-adb.c macintosh/macio-adb: replace of_node_put() with __free 2024-04-30 21:53:13 +10:00
Makefile macintosh/via-pmu: Fix build failure when CONFIG_INPUT is disabled 2022-05-22 15:58:30 +10:00
mediabay.c macintosh: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
rack-meter.c sched/cputime: Remove superfluous and error prone kcpustat_field() parameter 2026-06-02 21:27:25 +02:00
smu.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
therm_adt746x.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
therm_windtunnel.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
via-cuda.c macintosh: Use of_address_to_resource() 2023-06-21 14:08:54 +10:00
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: Include <linux/fb.h> and <linux/of.h> 2025-12-02 21:55:07 +11: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 Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
windfarm_ad7417_sensor.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
windfarm_core.c macintosh: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
windfarm_cpufreq_clamp.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
windfarm_fcu_controls.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
windfarm_lm75_sensor.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
windfarm_lm87_sensor.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
windfarm_max6690_sensor.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
windfarm_mpu.h macintosh: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
windfarm_pid.c
windfarm_pid.h macintosh/windfarm_pid: Add header file macro definition 2022-11-24 23:12:18 +11:00
windfarm_pm72.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
windfarm_pm81.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
windfarm_pm91.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -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 Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -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 Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
windfarm_smu_sat.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
windfarm_smu_sensors.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
windfarm.h