diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2012-05-04 02:23:17 +0200 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-05-08 17:00:12 +0000 |
commit | 9f5610e20b322347ce3e55e75a78965717a62412 (patch) | |
tree | 170c8b483591a808f8ff86065b6ccfcea5b76a0f /virt/kvm/assigned-dev.c | |
parent | c1f58f1e1e5596f9377ae8839500f56677b3d0b7 (diff) |
video/via: Convert to kstrtou8_from_user
This patch replaces the code for getting an number from a
userspace buffer by a simple call to kstrou8_from_user.
This makes it easier to read and less error prone.
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Acked-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'virt/kvm/assigned-dev.c')
0 files changed, 0 insertions, 0 deletions