Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
powercap/drivers/dtpm: Fix root node initialization
The root node is not set to NULL when the dtpm root node is removed. Consequently, it is not possible to create a new root as it is already set. Set the root node to NULL when the last node is removed. Signed-off-by: Daniel Lezcano <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
- Loading branch information