]> 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 20:58:59 +0000 (21:58 +0100)
commit44f9ffc1fe457995a1abba40f86a9739ec7c5934
tree79d00248e22cfd4ffdf1659f75048a1aa23f5b05
parente7d05cf15939de4272d3722725a50490235e70d3
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