]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: img-scb: use setup_timer
authorGeliang Tang <geliangtang@gmail.com>
Sun, 9 Apr 2017 01:41:31 +0000 (09:41 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 16 Apr 2017 19:51:30 +0000 (21:51 +0200)
commit01180f568033562456037f1803178d79124351b8
tree7d388634962ff9f234fd5ab3323870f42f395fe1
parent4fa85c714f180b8b02eefee997dcbcc3361d5788
i2c: img-scb: 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: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-img-scb.c