ARM: SAMSUNG: Reduce size of struct clk.
authorBen Dooks <ben-linux@fluff.org>
Tue, 1 Dec 2009 01:24:37 +0000 (01:24 +0000)
committerBen Dooks <ben-linux@fluff.org>
Fri, 15 Jan 2010 08:10:10 +0000 (17:10 +0900)
Reduce the size of struct clk by 12 bytes and make defining clocks with
common implementation functions easier by moving the set_rate, get_rate,
round_rate and set_parent calls into a new structure called 'struct clk_ops'
and using that instead.

This change does make a few clocks larger as they need their own clk_ops,
but this is outweighed by the number of clocks with either no ops or having
a common set of ops.

Update all the users of this.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>

No differences found