Update sysfs to use base 10 instead of base 16 values for controls
commitd5bbd617a764b07c5a8006799046a0675c1e3b4a
authorBrian Johnson <brijohn@gmail.com>
Thu, 2 Apr 2009 16:25:11 +0000 (2 12:25 -0400)
committerBrian Johnson <brijohn@gmail.com>
Thu, 2 Apr 2009 16:25:11 +0000 (2 12:25 -0400)
tree5cb95166d406284df622104cae7e3d8218c53a7e
parent6c152a2058fbcac738224be6bbd4fe6826ed040d
Update sysfs to use base 10 instead of base 16 values for controls

Also use strict_strtoul rather then simple_strtoul and add range
checking to the store methods.

Signed-off-by: Brian Johnson <brijohn@gmail.com>
sn9c20x-sysfs.c