mirror-linux/drivers/macintosh
Linus Torvalds bf4afc53b7 Convert 'alloc_obj' family to use the new default GFP_KERNEL argument
This was done entirely with mindless brute force, using

    git grep -l '\<k[vmz]*alloc_objs*(.*, GFP_KERNEL)' |
        xargs sed -i 's/\(alloc_objs*(.*\), GFP_KERNEL)/\1)/'

to convert the new alloc_obj() users that had a simple GFP_KERNEL
argument to just drop that argument.

Note that due to the extreme simplicity of the scripting, any slightly
more complex cases spread over multiple lines would not be triggered:
they definitely exist, but this covers the vast bulk of the cases, and
the resulting diff is also then easier to check automatically.

For the same reason the 'flex' versions will be done as a separate
conversion.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2026-02-21 17:09:51 -08:00
..
ams macintosh: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-06-28 22:08:05 +10:00
Kconfig fbdev: Fix recursive dependencies wrt BACKLIGHT_CLASS_DEVICE 2024-12-17 18:06:10 +01:00
Makefile
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
ans-lcd.h
apm_emu.c
mac_hid.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
macio-adb.c macintosh/macio-adb: replace of_node_put() with __free 2024-04-30 21:53:13 +10: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
mediabay.c
rack-meter.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08: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.h
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
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
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 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -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 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -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