git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ARM] pxa/magician: use ARRAY_AND_SIZE for platform_add_devices
[safe/jmp/linux-2.6]
/
arch
/
arm
/
common
/
sa1111.c
diff --git
a/arch/arm/common/sa1111.c
b/arch/arm/common/sa1111.c
index
47ccec9
..
ef12794
100644
(file)
--- a/
arch/arm/common/sa1111.c
+++ b/
arch/arm/common/sa1111.c
@@
-630,7
+630,7
@@
__sa1111_probe(struct device *me, struct resource *mem, int irq)
return -ENOMEM;
sachip->clk = clk_get(me, "SA1111_CLK");
- if (
!sachip->clk
) {
+ if (
IS_ERR(sachip->clk)
) {
ret = PTR_ERR(sachip->clk);
goto err_free;
}