Commit 44f9ffc1 authored by Marek Vasut's avatar Marek Vasut Committed by Greg Kroah-Hartman
Browse files

soc: imx8m: Remove global soc_uid



[ Upstream commit 9c1c02fe ]

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: default avatarMarek Vasut <marex@denx.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
Stable-dep-of: cf7139aa ("soc: imx8m: Unregister cpufreq and soc dev in cleanup path")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent e7d05cf1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment