]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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, 16 Aug 2012 16:44:48 +0000 (10:44 -0600)
commitf16e6e77a105ec53496f0d8343895da342917873
tree8158757a56576d0d030b770221f3fdd4318f58e7
parent30b68231b62927b84ca3f3ce8ea0fcc0ccd1dbec
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