soc: imx-scu: Using existing serial_number instead of UID
authorAnson Huang <Anson.Huang@nxp.com>
Fri, 25 Oct 2019 06:56:23 +0000 (14:56 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 28 Oct 2019 13:30:12 +0000 (21:30 +0800)
commit7ae399b7d009c7348b9451ac41cd49671b31cf3a
tree5839b9e087a12bc5bf9e8ccf413e36d1d12e5c60
parenta0708f559e4fa2239b84e927e661d26e6864e185
soc: imx-scu: 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-imx-scu.c