summaryrefslogtreecommitdiffstats
path: root/scripts/checkversion.pl
diff options
context:
space:
mode:
authorKim, Milo <Milo.Kim@ti.com>2012-08-31 11:23:57 +0200
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-09-21 03:00:08 +0200
commitd71fda01610269e3aaedd451f8d3e34cdf550036 (patch)
tree0213d1f047f26b721226cab4daa90b51a4794011 /scripts/checkversion.pl
parentlp8727_charger: Remove unnecessary workqueue thread (diff)
downloadlinux-d71fda01610269e3aaedd451f8d3e34cdf550036.tar.xz
linux-d71fda01610269e3aaedd451f8d3e34cdf550036.zip
lp8727_charger: Clean up the interrupt handler
For better understanding, function name is changed. (lp8727_intr_config() is replaced with lp8727_setup_irq().) The private IRQ number is set when the IRQ is allocated successfully. This data is used for releasing the IRQ on unloading the driver. Even the IRQ number is not defined, the driver should be operated. In this case, just return as 0. In additional function lp8727_release_irq(), the workqueue is canceled and the allocated IRQ is released. Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'scripts/checkversion.pl')
0 files changed, 0 insertions, 0 deletions