power: rk818-charger: move irq init to the last step
authorchenjh <chenjh@rock-chips.com>
Thu, 18 May 2017 06:58:02 +0000 (14:58 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 19 May 2017 09:48:44 +0000 (17:48 +0800)
commited73b95dec167d9c8c8920503cb55e64700b3920
tree27cd48c1c8a8d4fade5c4093cdbbf692cb60f0bf
parent445c38ef473b57dabbc71cfc7fa491b6136a456d
power: rk818-charger: move irq init to the last step

init irq later than workqueue_struct and delayed_work to
avoid NULL ponint

Change-Id: I715296a715cb07149a6dce236a3b8ccafe00622e
Signed-off-by: chenjh <chenjh@rock-chips.com>
drivers/power/rk818_charger.c