i2c: stu300: use clk_prepare/unprepare
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 12 Jun 2012 17:33:30 +0000 (19:33 +0200)
committerWolfram Sang <w.sang@pengutronix.de>
Mon, 9 Jul 2012 12:18:05 +0000 (14:18 +0200)
commita3f24c0dbd0b9a7624d077b3c1841dde267aaa6c
treedf05ada35254925726ab96345dc06f621cfb0992
parenta55b44ac3fe07d4e89486817732b596fce6ab9f6
i2c: stu300: use clk_prepare/unprepare

Make sure we prepare/unprepare the clock for the ST U300
I2C driver as is required by the clk API especially if you
use common clock.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-stu300.c