linux/drivers/soc/imx
Peng Fan cf7139aac4 soc: imx8m: Unregister cpufreq and soc dev in cleanup path
Unregister the cpufreq device and soc device when resource unwinding,
otherwise there will be warning when do removing test:
sysfs: cannot create duplicate filename '/devices/platform/imx-cpufreq-dt'
CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.13.0-rc1-next-20241204
Hardware name: NXP i.MX8MPlus EVK board (DT)

Fixes: 9cc832d377 ("soc: imx8m: Probe the SoC driver as platform driver")
Cc: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2025-02-23 15:56:10 +08:00
..
Kconfig pmdomain: imx: Move Kconfig options to the pmdomain subsystem 2023-10-04 23:40:36 +02:00
Makefile soc: imx: Add SoC device register for i.MX9 2024-12-09 20:31:39 +08:00
imx93-src.c soc: imx: imx93-src: No need to set device_driver owner 2023-01-01 13:29:14 +08:00
soc-imx.c soc: imx: Remove Layerscape check 2022-01-28 17:46:08 +08:00
soc-imx8m.c soc: imx8m: Unregister cpufreq and soc dev in cleanup path 2025-02-23 15:56:10 +08:00
soc-imx9.c soc: imx: Add SoC device register for i.MX9 2024-12-09 20:31:39 +08:00