]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7c43885bca58a131357c45f320daa647906942fc
tree022968dadbe18693175e1a1d76af68e8b0fd97ff
parent6edbdf88f45242b3db6a86510f3a912486bca6da
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