linux/drivers/platform/surface
Krzysztof Kozlowski fa622c9e9b platform: surface: Simplify with of_machine_get_match_data()
Replace open-coded getting root OF node, matching against it and getting
the match data with new of_machine_get_match_data() helper.

Acked-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patch.msgid.link/20251112-b4-of-match-matchine-data-v2-8-d46b72003fd6@linaro.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
2025-11-26 19:42:56 -06:00
..
aggregator move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
Kconfig platform: Do not enable by default during compile testing 2025-04-24 15:53:35 +03:00
Makefile
surface3-wmi.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
surface3_power.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
surface_acpi_notify.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
surface_aggregator_cdev.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
surface_aggregator_hub.c platform/surface: aggregator_registry: Fix target-ID of base-hub 2023-02-02 22:48:20 +01:00
surface_aggregator_registry.c platform: surface: Simplify with of_machine_get_match_data() 2025-11-26 19:42:56 -06:00
surface_aggregator_tabletsw.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
surface_dtx.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
surface_gpe.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
surface_hotplug.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
surface_platform_profile.c ACPI: platform_profile: Remove platform_profile_handler from exported symbols 2025-01-17 19:15:59 +02:00
surfacepro3_button.c