soc: fsl: guts: allocate soc_dev_attr on the heap
authorMichael Walle <michael@walle.cc>
Mon, 4 Apr 2022 09:56:06 +0000 (11:56 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 27 Jun 2022 06:51:54 +0000 (14:51 +0800)
commit5d707e4e3fb5185b24a41d72f75599cc77afab61
tree022968dadbe18693175e1a1d76af68e8b0fd97ff
parentab4988d6a39348dd8c031ef6db946afb9a543f0f
soc: fsl: guts: allocate soc_dev_attr on the heap

This is the last global static variable. Drop it and allocate the memory
on the heap instead.

Signed-off-by: Michael Walle <michael@walle.cc>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/fsl/guts.c