mirror-linux/drivers/of
Geert Uytterhoeven 53996463f8 of: unittest: Fix overlay type in apply/revert check
[ Upstream commit 6becf8f845 ]

The removal check in of_unittest_apply_revert_overlay_check()
always uses the platform device overlay type, while it should use the
actual overlay type, as passed as a parameter to the function.

This has no impact on any current test, as all tests calling
of_unittest_apply_revert_overlay_check() use the platform device overlay
type.

Fixes: d5e75500ca ("of: unitest: Add I2C overlay unit tests.")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/ba0234c41ba808f10112094f88792beeb6dbaedf.1690533838.git.geert+renesas@glider.be
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-13 09:42:44 +02:00
..
unittest-data
Kconfig
Makefile
address.c of/address: Return an error when no valid dma-ranges are found 2023-02-14 19:11:42 +01:00
base.c
device.c of: Fix modalias string generation 2023-05-11 23:03:28 +09:00
dynamic.c of: dynamic: Refactor action prints to not use "%pOF" inside devtree_lock 2023-08-30 16:11:08 +02:00
fdt.c
fdt_address.c
irq.c
kexec.c mm,ima,kexec,of: use memblock_free_late from ima_free_kexec_buffer 2023-08-30 16:11:06 +02:00
kobj.c
of_numa.c
of_private.h
of_reserved_mem.c of: reserved_mem: Have kmemleak ignore dynamically allocated reserved mem 2023-02-22 12:59:46 +01:00
overlay.c of: overlay: Call of_changeset_init() early 2023-09-13 09:42:44 +02:00
pdt.c
platform.c of: Preserve "of-display" device name for compatibility 2023-07-27 08:50:26 +02:00
property.c of: property: Simplify of_link_to_phandle() 2023-09-13 09:42:25 +02:00
resolver.c
unittest.c of: unittest: Fix overlay type in apply/revert check 2023-09-13 09:42:44 +02:00