aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/macro_checker.py
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2024-01-09 06:27:48 +0000
committerViresh Kumar <[email protected]>2025-01-20 03:35:51 +0000
commitb489e7946656ed67fea1a30f5103eb62a8686e04 (patch)
treee947ccde158004797f1b6e28894d97bbb21e97b3 /scripts/macro_checker.py
parentOPP: OF: Fix an OF node leak in _opp_add_static_v2() (diff)
downloadkernel-b489e7946656ed67fea1a30f5103eb62a8686e04.tar.gz
kernel-b489e7946656ed67fea1a30f5103eb62a8686e04.zip
PM / OPP: Add reference counting helpers for Rust implementation
To ensure that resources such as OPP tables or OPP nodes are not freed while in use by the Rust implementation, it is necessary to increment their reference count from Rust code. This commit introduces a new helper function, dev_pm_opp_get_opp_table_ref(), to increment the reference count of an OPP table and declares the existing helper dev_pm_opp_get() in pm_opp.h. Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'scripts/macro_checker.py')
0 files changed, 0 insertions, 0 deletions