]> Pileus Git - ~andy/linux/commit
staging: olpc_dcon: Remove _strtoul() function.
authorMarek Belisko <marek.belisko@open-nandra.com>
Fri, 11 Feb 2011 01:49:24 +0000 (17:49 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Feb 2011 20:33:20 +0000 (12:33 -0800)
commit31a3da4146c120e87b8d42d033760fe49704a233
treec09e87bdf25da73a0720c3f935498af0a005f417
parent45bfe97276856b866dd73fdadb65fb928c0c9bc1
staging: olpc_dcon: Remove _strtoul() function.

olpc_dcon driver use self invented _strtoul  function
which make similar check like strict_strtoul just extend
for space checking at last string place. Normally access
to sys file looks echo 1024 > /sys/... so space could be considered
as error character and we could simplify code using just strict_strtoul
function instead self invented.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/olpc_dcon/olpc_dcon.c