]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
soc: imx8m: Remove global soc_uid
authorMarek Vasut <marex@denx.de>
Sun, 29 Sep 2024 18:49:17 +0000 (20:49 +0200)
committerShawn Guo <shawnguo@kernel.org>
Fri, 18 Oct 2024 03:13:53 +0000 (11:13 +0800)
commit9c1c02fe8d7f33c18547b79c41f3fa41ef7bae8f
treede98a93f36e2d059319d82d2b611f48d6e386dab
parent9cc832d37799dbea950c4c8a34721b02b8b5a8ff
soc: imx8m: Remove global soc_uid

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>
drivers/soc/imx/soc-imx8m.c