]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
power_supply: 88pm860x_charger: Do not call free_irq() twice
authorTakeshi Yoshimura <yos@sslab.ics.keio.ac.jp>
Fri, 29 May 2015 13:16:43 +0000 (13:16 +0000)
committerSebastian Reichel <sre@kernel.org>
Fri, 29 May 2015 14:06:10 +0000 (16:06 +0200)
commita1cab5bb872507cb8594eb4010450fed7c48cdf2
tree822ac135cf75cdb381a7398fe60be3fc6a01eaa6
parentcd054ee16580690830297dbda0abe9c184276d6a
power_supply: 88pm860x_charger: Do not call free_irq() twice

My static checker detected double free_irq() in pm860x_charger_remove().
Unloading this module always causes a warning. This patch removes the
first redundant free_irq() call.

Signed-off-by: Takeshi Yoshimura <yos@sslab.ics.keio.ac.jp>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/88pm860x_charger.c