commit | 9f64859208f3a56f33f2e893e11df585768f1705 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <ext-andriy.shevchenko@nokia.com> | Thu Jan 14 15:07:23 2010 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Mar 03 16:42:44 2010 -0800 |
tree | 2a9e1e35340b713fde86db211ab1829bb26026cf | |
parent | e4c3a24dc5c318e57e5295a54f03eb8ae54d9ffa [diff] |
staging: wlags49: don't use custom implementation of atoi() Kernel has its own method called simple_strtoul() to do such things. Here we are using simple_strtoul(value, NULL, 0) because in original function the recognized base is 10 or 16 and input data is assumed to be unsigned. Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>