summaryrefslogtreecommitdiff
path: root/drivers/mfd/tps65912-i2c.c
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2011-06-07 00:43:32 +0400
committerSamuel Ortiz <sameo@linux.intel.com>2011-08-01 01:28:21 +0400
commit8504d638041d50901b8bfba4fe646bd0bbb5cbb9 (patch)
tree4cdf8b10a1c6fd83427ea54905aa31159ce0643a /drivers/mfd/tps65912-i2c.c
parent402fb487005d0fcbd4ce627b10426b3491ac0590 (diff)
downloadlinux-8504d638041d50901b8bfba4fe646bd0bbb5cbb9.tar.xz
mfd: Use kstrtoul_from_user in ab8500
This patch replaces the code for getting an unsigned long from a userspace buffer by a simple call to kstroul_from_user. This makes it easier to read and less error prone. Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/tps65912-i2c.c')
0 files changed, 0 insertions, 0 deletions