]> git.baikalelectronics.ru Git - kernel.git/commit
video/via: Convert to kstrtou8_from_user
authorPeter Huewe <peterhuewe@gmx.de>
Fri, 4 May 2012 00:23:17 +0000 (02:23 +0200)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Tue, 8 May 2012 17:00:12 +0000 (17:00 +0000)
commit0ad9da782378a730f8e90cc11d1a00af11befa54
tree170c8b483591a808f8ff86065b6ccfcea5b76a0f
parentfb550ce0f108b324178c541304e45db7dac2cf4b
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>
drivers/video/via/viafbdev.c