s390/sclp: use kstrobool() to parse sclp_con_drop parameter
authorHeiko Carstens <hca@linux.ibm.com>
Sat, 19 Nov 2022 17:32:18 +0000 (18:32 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 29 Nov 2022 13:17:03 +0000 (14:17 +0100)
commit2473be453c9023bafd6cc785a7f2ecd0eabda2fd
treea6a37484445f53b1a6e226f3e40fdf5f1d0e7f71
parente036ea81c0a12c5fad55fa4c5350019ce99c3e8d
s390/sclp: use kstrobool() to parse sclp_con_drop parameter

Use kstrobool() to parse sclp_con_drop parameter. This way handling of
valid values for the sclp_con_drop parameter is identical to the
con3215_drop parameter. In particular this allows to pass values like
"yes" and "true", which was not possible before.

Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
drivers/s390/char/sclp.c
drivers/s390/char/sclp.h