spi: spi-ep93xx: use devm_clk_get()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 2 Jul 2013 17:08:21 +0000 (10:08 -0700)
committerMark Brown <broonie@linaro.org>
Mon, 15 Jul 2013 10:37:14 +0000 (11:37 +0100)
commite6eb8d9bb7b9c144ae63a5e97a686dd8a3377443
tree190d379851b1edf1520e7f5ba6aa0108cf3c7847
parentd9b65dfd44fdade5c0fde5f7b8a0f267e99f990d
spi: spi-ep93xx: use devm_clk_get()

Use devm_clk_get() so that the clk_put() happens automatically when
the last reference to this driver is dropped.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Mika Westerberg <mika.westerberg@iki.fi>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-ep93xx.c