clk: wm831x: Provide is_prepared() rather than is_enabled()
authorMark Brown <broonie@linaro.org>
Thu, 29 Aug 2013 14:13:28 +0000 (15:13 +0100)
committerMike Turquette <mturquette@linaro.org>
Fri, 30 Aug 2013 00:29:01 +0000 (17:29 -0700)
commita5828a6c5f51a909c3c4dbbf22c76c75a033b2e9
tree7a99a4e68ce5f197b289cd82afbfb447a884604c
parente2815b048aa05bc2e1c0a49ffd23ebed47e9c813
clk: wm831x: Provide is_prepared() rather than is_enabled()

Since the driver was written an is_prepared() operation has been made
possible. Since the driver uses I2C I/O only prepare operations are
provided so move the is_enabled() operation over to is_prepared().

Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-wm831x.c