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>
Showing
Please register or sign in to comment