Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235938
b: refs/heads/master
c: c378204
h: refs/heads/master
v: v3
  • Loading branch information
Laurent Pinchart authored and Omar Ramirez Luna committed Feb 5, 2011
1 parent df671b8 commit fc40887
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: 57104f0fbe5bb35694eb470530850a71ef2f8063
refs/heads/master: c378204afacc627330a9a1aeb5b5cd6e3d821717
6 changes: 1 addition & 5 deletions trunk/drivers/staging/tidspbridge/rmgr/dbdcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1020,8 +1020,6 @@ static s32 atoi(char *psz_buf)
{
char *pch = psz_buf;
s32 base = 0;
unsigned long res;
int ret_val;

while (isspace(*pch))
pch++;
Expand All @@ -1033,9 +1031,7 @@ static s32 atoi(char *psz_buf)
base = 16;
}

ret_val = strict_strtoul(pch, base, &res);

return ret_val ? : res;
return simple_strtoul(pch, NULL, base);
}

/*
Expand Down

0 comments on commit fc40887

Please sign in to comment.