aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorHuan Yang <[email protected]>2024-08-20 09:44:49 +0000
committerDaniel Lezcano <[email protected]>2024-09-02 11:14:23 +0000
commitd5714524fc2ce2a89fbe7abb06eccbb94920ec72 (patch)
tree6ab847f1742fb7cd7ca2a184533590faa24c0c5b /security/selinux/hooks.c
parentdt-bindings: thermal: tsens: document support on SA8255p (diff)
downloadkernel-d5714524fc2ce2a89fbe7abb06eccbb94920ec72.tar.gz
kernel-d5714524fc2ce2a89fbe7abb06eccbb94920ec72.zip
thermal/drivers/sprd: Use devm_clk_get_enabled() helpers
The devm_clk_get_enabled() helpers: - call devm_clk_get() - call clk_prepare_enable() and register what is needed in order to call clk_disable_unprepare() when needed, as a managed resource. This simplifies the code and avoids the calls to clk_disable_unprepare(). Signed-off-by: Huan Yang <[email protected]> Reviewed-by: Baolin Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions