]> git.baikalelectronics.ru Git - kernel.git/commit
lp8727_charger: Remove unnecessary workqueue thread
authorKim, Milo <Milo.Kim@ti.com>
Fri, 31 Aug 2012 09:23:41 +0000 (09:23 +0000)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Fri, 21 Sep 2012 00:57:49 +0000 (17:57 -0700)
commit2598243eb683ca0fd0d0c4c201b4e6e2e477da44
tree0564be968102b0df02cf09785bac21d738f90d57
parentb86e77b6f1072d66ec2d0deb90c88a160b8780a5
lp8727_charger: Remove unnecessary workqueue thread

LP8727 has two IRQ threads. One is the I2C HW IRQ pin, the other is for
delayed interrupt processing. But this delayed processing can be handled
without additional single thread by using schedule_delayed_work() with
jiffies time value.

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
drivers/power/lp8727_charger.c