diff options
author | Krzysztof Kozlowski | 2020-12-07 19:59:52 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2020-12-09 19:46:31 +0100 |
commit | 0b81144a4ac20f0757b7c965d2fa57de367c7db5 (patch) | |
tree | 504290d91ee1d8474344d00b8c533061e5803d46 /lib/Kconfig.kcsan | |
parent | 9c30921fe7994907e0b3e0637b2c8c0fc4b5171f (diff) |
soc: fix comment for freeing soc_dev_attr
The soc_dev_attr is stored soc_dev->attr during soc_device_register() so
it could be used till the cleanup call: soc_device_unregister().
Therefore this memory should not be freed prior, but after unregistering
soc device.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20201207185952.261697-1-krzk@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/Kconfig.kcsan')
0 files changed, 0 insertions, 0 deletions