summaryrefslogtreecommitdiff
path: root/drivers/staging/wlags49_h2/wl_util.h
diff options
context:
space:
mode:
authorAndy Shevchenko <ext-andriy.shevchenko@nokia.com>2010-01-14 13:07:23 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-04 00:42:44 (GMT)
commit9f64859208f3a56f33f2e893e11df585768f1705 (patch)
tree2a9e1e35340b713fde86db211ab1829bb26026cf /drivers/staging/wlags49_h2/wl_util.h
parente4c3a24dc5c318e57e5295a54f03eb8ae54d9ffa (diff)
downloadlinux-fsl-qoriq-9f64859208f3a56f33f2e893e11df585768f1705.tar.xz
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>
Diffstat (limited to 'drivers/staging/wlags49_h2/wl_util.h')
-rw-r--r--drivers/staging/wlags49_h2/wl_util.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/wlags49_h2/wl_util.h b/drivers/staging/wlags49_h2/wl_util.h
index 16cd6c5..561e85b 100644
--- a/drivers/staging/wlags49_h2/wl_util.h
+++ b/drivers/staging/wlags49_h2/wl_util.h
@@ -100,6 +100,4 @@ void wl_process_updated_record( struct wl_private *lp );
void wl_process_assoc_status( struct wl_private *lp );
void wl_process_security_status( struct wl_private *lp );
-unsigned int wl_atoi( char *string );
-
#endif // __WL_UTIL_H__