[ARM] 4324/1: S3C24XX: remove clocks from s3c24xx_board
Remove the clocks from the s3c24xx_board as part of the process of simplifying the initialisation sequence by removing struct s3c24xx_board. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
@@ -187,16 +187,7 @@ static struct s3c24xx_board *board;
|
||||
|
||||
void s3c24xx_set_board(struct s3c24xx_board *b)
|
||||
{
|
||||
int i;
|
||||
|
||||
board = b;
|
||||
|
||||
if (b->clocks_count != 0) {
|
||||
struct clk **ptr = b->clocks;
|
||||
|
||||
for (i = b->clocks_count; i > 0; i--, ptr++)
|
||||
s3c24xx_register_clock(*ptr);
|
||||
}
|
||||
}
|
||||
|
||||
/* cpu information */
|
||||
|
Reference in New Issue
Block a user