Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275156
b: refs/heads/master
c: fdcb236
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Ohad Ben-Cohen committed Nov 8, 2011
1 parent 5cea553 commit fb8d1aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 816af3bb5022c1468b3d826c645ddc2cac45bc97
refs/heads/master: fdcb23634c9b6649bb02c681033d4973491b0e35
6 changes: 2 additions & 4 deletions trunk/drivers/hwspinlock/u8500_hsem.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,8 @@ static int __devinit u8500_hsem_probe(struct platform_device *pdev)
return -ENODEV;

io_base = ioremap(res->start, resource_size(res));
if (!io_base) {
ret = -ENOMEM;
goto free_state;
}
if (!io_base)
return -ENOMEM;

/* make sure protocol 1 is selected */
val = readl(io_base + HSEM_CTRL_REG);
Expand Down

0 comments on commit fb8d1aa

Please sign in to comment.