block: floppy: use setup_timer
authorGeliang Tang <geliangtang@gmail.com>
Fri, 24 Mar 2017 14:15:10 +0000 (22:15 +0800)
committerJens Axboe <axboe@fb.com>
Fri, 24 Mar 2017 14:22:07 +0000 (08:22 -0600)
commit68219bdf5f1d999e4bad09db0abbd9460bd93020
treee975baceb5390d3bce92bbd626f405f5eb2dba29
parent7a88fa191944589b2ed795bbed32ca6e9e2df31f
block: floppy: use setup_timer

Use setup_timer() instead of init_timer() to simplify the code.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/floppy.c