Skip to content
Commit 402fb487 authored by Peter Huewe's avatar Peter Huewe Committed by Samuel Ortiz
Browse files

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: default avatarPeter Huewe <peterhuewe@gmx.de>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 914e6d4e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment