]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
soc: imx8m: Remove global soc_uid
authorMarek Vasut <marex@denx.de>
Sun, 29 Sep 2024 18:49:17 +0000 (20:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Mar 2025 21:03:25 +0000 (22:03 +0100)
commit4d709816638da6754c418b1cb8091281ffdd0cf0
tree8a4e1393fa2a7381ae61e1050c7345f953fff729
parent25e4700489cfc9bf2a3da058b3e7442d0d68f0ef
soc: imx8m: Remove global soc_uid

[ Upstream commit 9c1c02fe8d7f33c18547b79c41f3fa41ef7bae8f ]

The static global soc_uid is only ever used as kasprintf() parameter in
imx8m_soc_probe(). Pass pointer to local u64 variable to .soc_revision()
callback instead and let the .soc_revision() callback fill in the content.
Remove the unnecessary static global variable.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Stable-dep-of: cf7139aac463 ("soc: imx8m: Unregister cpufreq and soc dev in cleanup path")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/soc/imx/soc-imx8m.c