s390/char: fix cdev_add usage
authorJean Delvare <jdelvare@suse.de>
Mon, 18 Sep 2017 09:13:13 +0000 (11:13 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 28 Sep 2017 05:29:41 +0000 (07:29 +0200)
commitb08e19defc10befc50af09771ff0b086f2a72138
tree7d1b4a799d66482d9deb8109dbabbde18d3f3804
parente16c5dd5157efeddaad7492b920192fea0e7e4ec
s390/char: fix cdev_add usage

Function cdev_add does set cdev->dev, so there is no point in setting
it prior to calling this function.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/tape_class.c
drivers/s390/char/vmlogrdr.c
drivers/s390/char/vmur.c