]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: i2c-imx: Adapt the clock name to the new clock framework
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 6 Jul 2012 18:31:32 +0000 (15:31 -0300)
committerWolfram Sang <w.sang@pengutronix.de>
Mon, 9 Jul 2012 12:48:25 +0000 (14:48 +0200)
commit1648e020edafe54db56dc68b985be385b5952f0a
tree922763ea61609bd953b19e8cee3ff5372df2defb
parent2cbf439c067e91d17ea819e9af874ee2adf30e48
i2c: i2c-imx: Adapt the clock name to the new clock framework

With the new i.mx clock framework the i2c clock is registered as:

clk_register_clkdev(clk[i2c1_ipg_gate], NULL, "imx-i2c.0")

So we do not need to pass "i2c_clk" string and can use NULL instead.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
[wsa: rebased on top of the devm-conversion]

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-imx.c