Staging: line6/midi.c: Fixed call of obsolete function strict_strtoul
authorAndor Daam <andor.daam@googlemail.com>
Mon, 5 Dec 2011 09:10:37 +0000 (10:10 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Dec 2011 20:32:55 +0000 (12:32 -0800)
commit251c3948808046c39359658fa2faffff45b825d3
treec01beda62ff65c839cff314636963dfc05924167
parent4d85fae04f23ebbdbbb11061b8eec48082ecdc43
Staging: line6/midi.c: Fixed call of obsolete function strict_strtoul

The obsolete function strict_strtoul should be replaced by the kstrto*
functions.

In this context kstrtou16 should be use, as midi_mask_receive is only
used as unsigned short. All corresponding datatypes were adapted
accordingly.

Signed-off-by: Andor Daam <andor.daam@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/line6/midi.c
drivers/staging/line6/midi.h