]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit165e61e8bd887cb7b3a8cc11957398e9f8928021
tree7a99a4e68ce5f197b289cd82afbfb447a884604c
parente073ed81d544dc63b7a698427c8ee2e3610f9c7b
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