mg_disk: use setup_timer
authorGeliang Tang <geliangtang@gmail.com>
Fri, 24 Mar 2017 14:15:13 +0000 (22:15 +0800)
committerJens Axboe <axboe@fb.com>
Fri, 24 Mar 2017 14:22:09 +0000 (08:22 -0600)
commit0a3ef9db64df90854d772e8343a14e044dc004bc
tree1ea72dd858e1928ea5dbfed2cd52cc1bd01dd5ca
parent68219bdf5f1d999e4bad09db0abbd9460bd93020
mg_disk: 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/mg_disk.c