Re: [PATCH v6 2/3] clk: gate: expose clk_gate_ops::is_enabled

2017-07-18 Thread Vladimir Zapolskiy
On 07/19/2017 01:52 AM, Stephen Boyd wrote: > On 07/18, Vladimir Zapolskiy wrote: >> On 07/18/2017 10:53 AM, gabriel.fernan...@st.com wrote: >>> From: Gabriel Fernandez >>> } >>> +EXPORT_SYMBOL_GPL(clk_gate_is_enabled); >>> >>> const struct clk_ops clk_gate_ops = {

Re: [PATCH v6 2/3] clk: gate: expose clk_gate_ops::is_enabled

2017-07-18 Thread Vladimir Zapolskiy
On 07/19/2017 01:52 AM, Stephen Boyd wrote: > On 07/18, Vladimir Zapolskiy wrote: >> On 07/18/2017 10:53 AM, gabriel.fernan...@st.com wrote: >>> From: Gabriel Fernandez >>> } >>> +EXPORT_SYMBOL_GPL(clk_gate_is_enabled); >>> >>> const struct clk_ops clk_gate_ops = { >>> .enable =

Re: [PATCH v6 2/3] clk: gate: expose clk_gate_ops::is_enabled

2017-07-18 Thread Stephen Boyd
On 07/18, Vladimir Zapolskiy wrote: > On 07/18/2017 10:53 AM, gabriel.fernan...@st.com wrote: > > From: Gabriel Fernandez > > } > > +EXPORT_SYMBOL_GPL(clk_gate_is_enabled); > > > > const struct clk_ops clk_gate_ops = { > > .enable = clk_gate_enable, > > diff

Re: [PATCH v6 2/3] clk: gate: expose clk_gate_ops::is_enabled

2017-07-18 Thread Stephen Boyd
On 07/18, Vladimir Zapolskiy wrote: > On 07/18/2017 10:53 AM, gabriel.fernan...@st.com wrote: > > From: Gabriel Fernandez > > } > > +EXPORT_SYMBOL_GPL(clk_gate_is_enabled); > > > > const struct clk_ops clk_gate_ops = { > > .enable = clk_gate_enable, > > diff --git

Re: [PATCH v6 2/3] clk: gate: expose clk_gate_ops::is_enabled

2017-07-18 Thread Vladimir Zapolskiy
On 07/18/2017 10:53 AM, gabriel.fernan...@st.com wrote: > From: Gabriel Fernandez > > 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

Re: [PATCH v6 2/3] clk: gate: expose clk_gate_ops::is_enabled

2017-07-18 Thread Vladimir Zapolskiy
On 07/18/2017 10:53 AM, gabriel.fernan...@st.com wrote: > From: Gabriel Fernandez > > 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. > >

[PATCH v6 2/3] clk: gate: expose clk_gate_ops::is_enabled

2017-07-18 Thread gabriel.fernandez
From: Gabriel Fernandez 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

[PATCH v6 2/3] clk: gate: expose clk_gate_ops::is_enabled

2017-07-18 Thread gabriel.fernandez
From: Gabriel Fernandez 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 Sugested by Stephen Boyd ---