[ARM] 5536/1: Move clk_add_alias() to arch/arm/common/clkdev.c
authorTony Lindgren <tony@atomide.com>
Wed, 3 Jun 2009 16:43:14 +0000 (17:43 +0100)
committerTony Lindgren <tony@atomide.com>
Wed, 10 Jun 2009 11:17:58 +0000 (14:17 +0300)
This can be used for other arm platforms too as discussed
on the linux-arm-kernel list.

Also check the return value with IS_ERR and return PTR_ERR
as suggested by Russell King.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found