diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2011-06-07 00:43:31 +0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-08-01 01:28:21 +0400 |
commit | 402fb487005d0fcbd4ce627b10426b3491ac0590 (patch) | |
tree | 7560fa2e3ecfcd1109a8e4ceb9ac35a48de7793a /drivers/mfd/tps65912-i2c.c | |
parent | 914e6d4e36015180bdcb6b99e96adc6293b7c2c6 (diff) | |
download | linux-402fb487005d0fcbd4ce627b10426b3491ac0590.tar.xz |
mfd: Use kstrtoul_from_user in ab3550
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