]> 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)
commitb031b79ddd977a08e64ad203c1c8457eab6a6e3c
tree022968dadbe18693175e1a1d76af68e8b0fd97ff
parent8cd1b9c57ca9b1c1c4175fc6becef960afe6fc1b
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