diff options
author | Alex Elder <elder@linaro.org> | 2014-04-21 23:11:38 +0200 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-04-30 20:51:30 +0200 |
commit | e756325206ebf284d00410077ea43eb53de8e9bf (patch) | |
tree | 83a457f304e8f2ec9b3e5f998ff10545bb28c8fc /drivers/clk/bcm/clk-kona.h | |
parent | clk: bcm281xx: warn if ccu_wait_bit() fails (diff) | |
download | linux-e756325206ebf284d00410077ea43eb53de8e9bf.tar.xz linux-e756325206ebf284d00410077ea43eb53de8e9bf.zip |
clk: bcm281xx: use init_data.name for clock name
Use the init_data.name field to hold the name of a Kona clock rather
than duplicating it.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/bcm/clk-kona.h')
-rw-r--r-- | drivers/clk/bcm/clk-kona.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/bcm/clk-kona.h b/drivers/clk/bcm/clk-kona.h index dee690951bb6..1a7eba4ac33a 100644 --- a/drivers/clk/bcm/clk-kona.h +++ b/drivers/clk/bcm/clk-kona.h @@ -373,8 +373,7 @@ struct peri_clk_data { struct kona_clk { struct clk_hw hw; - struct clk_init_data init_data; - const char *name; /* name of this clock */ + struct clk_init_data init_data; /* includes name of this clock */ struct ccu_data *ccu; /* ccu this clock is associated with */ enum bcm_clk_type type; union { |