libata: use setup_deferrable_timer
authorGeliang Tang <geliangtang@gmail.com>
Sat, 11 Mar 2017 00:47:01 +0000 (08:47 +0800)
committerTejun Heo <tj@kernel.org>
Mon, 13 Mar 2017 17:07:29 +0000 (13:07 -0400)
commit7c92357c91a917fd882801604bba2cb1f1fdde23
tree2b5358a27bb6102fcf1a5ba800a7a95b09a0c2d4
parentb2a4b7862d6ba5c90746fc625e494b8ec5937fa1
libata: use setup_deferrable_timer

Use setup_deferrable_timer() instead of init_timer_deferrable() to
simplify the code.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libata-core.c