Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/rt-thread
/ rt_regulator_put
Function
rt_regulator_put
components/drivers/regulator/regulator.c:620–629 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
618
}
619
620
void rt_regulator_put(struct rt_regulator *reg)
621
{
622
if (!reg)
623
{
624
return;
625
}
626
627
rt_ref_put(®->reg_np->ref, ®ulator_release);
628
rt_free(reg);
629
}
Callers
1
pwm_fan_cool_free
Function · 0.85
Calls
2
rt_ref_put
Function · 0.85
rt_free
Function · 0.85
Tested by
no test coverage detected