Skip to content
Commit 690de0b4 authored by Daniel Lezcano's avatar Daniel Lezcano
Browse files

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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20220130210210.549877-3-daniel.lezcano@linaro.org
parent 0aea2e4e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment