[PATCH V4] soc: imx8m: Unregister cpufreq and soc dev in cleanup path
Shawn Guo
shawnguo2 at yeah.net
Sat Feb 22 23:56:30 PST 2025
On Fri, Feb 14, 2025 at 04:47:51PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan at nxp.com>
>
> 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: 9cc832d37799 ("soc: imx8m: Probe the SoC driver as platform driver")
> Cc: Marco Felsch <m.felsch at pengutronix.de>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
Applied, thanks!
More information about the linux-arm-kernel
mailing list