clk: tegra: Fix periph_clk_to_bit macro
authorYen Lin <yelin@nvidia.com>
Wed, 6 Mar 2013 11:47:24 +0000 (11:47 +0000)
committerStephen Warren <swarren@nvidia.com>
Thu, 4 Apr 2013 22:08:27 +0000 (16:08 -0600)
commit5a88b0d10f198ddd5f988f40d34b52f34c87a5c6
treedc335eff83cd382825f4af4a3dfe567f940435c0
parent43089433b00a086980fc6e9571535477fb749e84
clk: tegra: Fix periph_clk_to_bit macro

The parameter name should be "gate", not "periph".  This worked, however,
because it happens that everywhere periph_clk_to_bit is called, "gate" was
in the local scope.

Signed-off-by: Yen Lin <yelin@nvidia.com>
Signed-off-by: Andrew Chew <achew@nvidia.com>
Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de>
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Acked-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
drivers/clk/tegra/clk-periph-gate.c