]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/linux/clk-provider.h
clk: gate: expose clk_gate_ops::is_enabled
authorGabriel Fernandez <gabriel.fernandez@st.com>
Mon, 21 Aug 2017 11:59:01 +0000 (13:59 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 1 Sep 2017 01:35:45 +0000 (18:35 -0700)
commit0a9c869d5c568054a828a38357f30d77659e5b1e
tree6c83b3f1dfce255acd851a2508c48191be546397
parent42d3c5f634de895cf01f066a1ea67140d653c36e
clk: gate: expose clk_gate_ops::is_enabled

This patch exposes clk_gate_ops::is_enabled as functions
that can be directly called and assigned in places like this so
we don't need wrapper functions that do nothing besides forward
the call.

Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
Suggested-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-gate.c
include/linux/clk-provider.h