diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2022-01-30 22:02:05 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2022-02-23 19:45:33 +0100 |
commit | 690de0b4013f6f35bc9fced12746b9f396c471ae (patch) | |
tree | 951c076099da2bb5957fdce67b35f54d89400cb2 /include/linux/dtpm.h | |
parent | 0aea2e4ec2a2bfa2d7e8820e37ba5b5ce04f20a5 (diff) |
powercap/dtpm: Fixup kfree for virtual node
When the node is virtual there is no release function associated which
can free the memory.
Free the memory when no 'ops' exists.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20220130210210.549877-3-daniel.lezcano@linaro.org
Diffstat (limited to 'include/linux/dtpm.h')
0 files changed, 0 insertions, 0 deletions