]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 4 Jun 2009 16:45:43 +0000 (17:45 +0100)
commit70e9144b4ac52c0770a74d18427ced3b9293d8b4
treed91295ea184722929a12c772839c3d6f502ad95b
parent48e78e6e87d8f81dd0915882a089d61914786f7a
[ARM] 5536/1: Move clk_add_alias() to arch/arm/common/clkdev.c

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>
arch/arm/common/clkdev.c
arch/arm/mach-pxa/clock.c
include/linux/clk.h