Hi Krzysztof,
On Mon, Dec 7, 2020 at 8:00 PM Krzysztof Kozlowski wrote:
> 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
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
---
drivers/base/soc.c | 2 +-
1 file
2 matches
Mail list logo