clk: Add clk_hw_is_enabled() for use by clk providers
authorJoachim Eastwood <manabian@gmail.com>
Sat, 24 Oct 2015 16:55:22 +0000 (18:55 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Mon, 26 Oct 2015 19:36:55 +0000 (12:36 -0700)
commitbe68bf883170b3e4123fc4ff3745e38fb45a573e
tree4c36a606a38716155cd10a6f5d1ad95588dba4f4
parent679c51cffc3b316bd89ecc91ef92603dd6d4fc68
clk: Add clk_hw_is_enabled() for use by clk providers

Add clk_hw_is_enabled() to the provider APIs so clk providers can
use a struct clk_hw instead of a struct clk to check if a clk is
enabled or not.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk.c
include/linux/clk-provider.h