[S390] qdio: Use kstrtoul_from_user
authorPeter Huewe <peterhuewe@gmx.de>
Wed, 3 Aug 2011 14:44:30 +0000 (16:44 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 3 Aug 2011 14:44:21 +0000 (16:44 +0200)
commitaf6df871ba87ff93739babb16d26160c37c43183
treebb3e2862fa429e941b249c87813f53020eda1b03
parentd5f4d113cb9dac182ba44eb605ec4a2f1fdfd3ec
[S390] qdio: Use kstrtoul_from_user

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>
Acked-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
drivers/s390/cio/qdio_debug.c