static enum handoff pc_clk_handoff(struct clk *clk) { if (pc_clk_is_enabled(clk)) return HANDOFF_ENABLED_CLK; return HANDOFF_DISABLED_CLK; }
static enum handoff pc_clk_handoff(struct clk *clk) { /* * Handoff clock state only since querying and caching the rate here * would incur more overhead than it would ever save. */ if (pc_clk_is_enabled(clk)) return HANDOFF_ENABLED_CLK; return HANDOFF_DISABLED_CLK; }