soc: imx8: Using existing serial_number instead of UID
authorAnson Huang <Anson.Huang@nxp.com>
Fri, 25 Oct 2019 06:56:22 +0000 (14:56 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 28 Oct 2019 13:30:12 +0000 (21:30 +0800)
commita0708f559e4fa2239b84e927e661d26e6864e185
treed174580f51e7ffddcda8e850301d5caa3ed97f80
parente4f9eefbb8a976bb86dbdc9d2dd1a2a113801464
soc: imx8: Using existing serial_number instead of UID

The soc_device_attribute structure already contains a serial_number
attribute to show SoC's unique ID, just use it to show SoC's unique
ID instead of creating a new file called soc_uid.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/soc-imx8.c