i2c: tegra: pass proper name for getting clock
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 8 Aug 2012 07:51:32 +0000 (13:21 +0530)
committerStephen Warren <swarren@nvidia.com>
Thu, 13 Sep 2012 17:40:29 +0000 (11:40 -0600)
commit14e92bd4ff7381e84bc7f24596721e0054b5f783
tree323071195fe6c04ad1a5c4feae28c2d9fc4bbb9b
parente54848d9ba7114ac2fa51b104eb6b1e7c67d9b28
i2c: tegra: pass proper name for getting clock

Tegra's i2c controller require two clock sources named as
div_clk and fast_clk.
This change make sure that driver pass the correct clock's
name when it acquires clock handle. Also change the
variable name to reflect the correct clock handles.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
drivers/i2c/busses/i2c-tegra.c