power: generic-adc-battery: use to_delayed_work
authorGeliang Tang <geliangtang@163.com>
Fri, 1 Jan 2016 14:59:11 +0000 (22:59 +0800)
committerSebastian Reichel <sre@kernel.org>
Thu, 7 Jan 2016 15:38:31 +0000 (16:38 +0100)
commit127d2868484b9769e08a8353e9e43023dcb8b9b3
tree7e001b58fa7ad6298b3f2e317309dcf531bc87e9
parent88025632515adfb7fcfac15d087f155b719e78cd
power: generic-adc-battery: use to_delayed_work

Use to_delayed_work() instead of open-coding it.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/generic-adc-battery.c