diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-08 15:50:54 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-08 15:50:54 -0500 |
commit | c8f17084fe0fa7fdb5ff21eab9ccce49439ebdb1 (patch) | |
tree | f0ba7e8b50a4f103caa1c5033d30375c2d1dd5ed /drivers | |
parent | 6ccce2b32900a8a6f481036e0cbbfe174742352c (diff) | |
parent | fdcb23634c9b6649bb02c681033d4973491b0e35 (diff) |
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/ohad/hwspinlock
* 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/ohad/hwspinlock:
hwspinlock/u8500: fix build error due to undefined label
hwspinlock: Don't return a value in __hwspin_unlock
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/hwspinlock/u8500_hsem.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/hwspinlock/u8500_hsem.c b/drivers/hwspinlock/u8500_hsem.c index 143461a95ae4..a120f14814f9 100644 --- a/drivers/hwspinlock/u8500_hsem.c +++ b/drivers/hwspinlock/u8500_hsem.c | |||
@@ -108,10 +108,8 @@ static int __devinit u8500_hsem_probe(struct platform_device *pdev) | |||
108 | return -ENODEV; | 108 | return -ENODEV; |
109 | 109 | ||
110 | io_base = ioremap(res->start, resource_size(res)); | 110 | io_base = ioremap(res->start, resource_size(res)); |
111 | if (!io_base) { | 111 | if (!io_base) |
112 | ret = -ENOMEM; | 112 | return -ENOMEM; |
113 | goto free_state; | ||
114 | } | ||
115 | 113 | ||
116 | /* make sure protocol 1 is selected */ | 114 | /* make sure protocol 1 is selected */ |
117 | val = readl(io_base + HSEM_CTRL_REG); | 115 | val = readl(io_base + HSEM_CTRL_REG); |