linux/arch/sh/drivers
Danilo Krummrich d9b4463da0 sh: platform_early: remove pdev->driver_override check
[ Upstream commit c5f60e3f07 ]

In commit 507fd01d53 ("drivers: move the early platform device support to
arch/sh") platform_match() was copied over to the sh platform_early
code, accidentally including the driver_override check.

This check does not make sense for platform_early, as sysfs is not even
available in first place at this point in the boot process, hence remove
the check.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Fixes: 507fd01d53 ("drivers: move the early platform device support to arch/sh")
Link: https://lore.kernel.org/all/DH4M3DJ4P58T.1BGVAVXN71Z09@kernel.org/
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2026-04-18 10:33:22 +02:00
..
dma sh: dma: Fix DMA channel offset calculation 2023-07-23 13:47:30 +02:00
pci dma-mapping: remove the dma_direct_set_offset export 2020-11-18 09:11:38 +01:00
superhyway sh: drivers: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
heartbeat.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile drivers: move the early platform device support to arch/sh 2019-10-07 13:50:47 +02:00
platform_early.c sh: platform_early: remove pdev->driver_override check 2026-04-18 10:33:22 +02:00
push-switch.c sh: drivers: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00