davinci: dm646x: CDCE clocks: davinci_clk converted to clk_lookup
Remove unneeded 'struct davinci_clk' wrapper around 'struct clk_lookup' and use clk_lookup directly. Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
This commit is contained in:
parent
08aca087f2
commit
c564191b1c
@ -694,19 +694,19 @@ static struct clk cdce_clk_in = {
|
|||||||
.rate = CDCE949_XIN_RATE,
|
.rate = CDCE949_XIN_RATE,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct davinci_clk cdce_clks[] = {
|
static struct clk_lookup cdce_clks[] = {
|
||||||
CLK(NULL, "xin", &cdce_clk_in),
|
CLK(NULL, "xin", &cdce_clk_in),
|
||||||
CLK(NULL, NULL, NULL),
|
CLK(NULL, NULL, NULL),
|
||||||
};
|
};
|
||||||
|
|
||||||
static void __init cdce_clk_init(void)
|
static void __init cdce_clk_init(void)
|
||||||
{
|
{
|
||||||
struct davinci_clk *c;
|
struct clk_lookup *c;
|
||||||
struct clk *clk;
|
struct clk *clk;
|
||||||
|
|
||||||
for (c = cdce_clks; c->lk.clk; c++) {
|
for (c = cdce_clks; c->clk; c++) {
|
||||||
clk = c->lk.clk;
|
clk = c->clk;
|
||||||
clkdev_add(&c->lk);
|
clkdev_add(c);
|
||||||
clk_register(clk);
|
clk_register(clk);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user