diff options
author | Thierry Reding <treding@nvidia.com> | 2015-11-18 14:04:20 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2015-11-18 15:54:11 +0100 |
commit | e52d7c04bb3911d4ce98bd237f69f5246d9c7083 (patch) | |
tree | fc1af5cb677bf3350fdd74e420082bdeb84a6040 /drivers/clk/tegra/clk-tegra20.c | |
parent | clk: tegra: Fix 26 MHz oscillator frequency (diff) | |
download | linux-e52d7c04bb3911d4ce98bd237f69f5246d9c7083.tar.xz linux-e52d7c04bb3911d4ce98bd237f69f5246d9c7083.zip |
clk: tegra: Miscellaneous coding style cleanups
Use unsigned int for loop variables that can never become negative and
remove a couple of gratuitous blank lines. Also use single spaces around
operators and use a single space instead of a tab to separate comments
from code.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/clk/tegra/clk-tegra20.c')
-rw-r--r-- | drivers/clk/tegra/clk-tegra20.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/clk/tegra/clk-tegra20.c b/drivers/clk/tegra/clk-tegra20.c index bf004f0e4f65..319e80ef69e1 100644 --- a/drivers/clk/tegra/clk-tegra20.c +++ b/drivers/clk/tegra/clk-tegra20.c @@ -759,7 +759,6 @@ static void __init tegra20_audio_clk_init(void) CLK_SET_RATE_PARENT, 89, periph_clk_enb_refcnt); clks[TEGRA20_CLK_AUDIO_2X] = clk; - } static const char *i2s1_parents[] = {"pll_a_out0", "audio_2x", "pll_p", @@ -802,7 +801,7 @@ static void __init tegra20_periph_clk_init(void) { struct tegra_periph_init_data *data; struct clk *clk; - int i; + unsigned int i; /* ac97 */ clk = tegra_clk_register_periph_gate("ac97", "pll_a_out0", @@ -1085,7 +1084,7 @@ static struct tegra_clk_duplicate tegra_clk_duplicates[] = { static const struct of_device_id pmc_match[] __initconst = { { .compatible = "nvidia,tegra20-pmc" }, - {}, + { }, }; static void __init tegra20_clock_init(struct device_node *np) |