]> git.baikalelectronics.ru Git - kernel.git/commit
power: supply: ab8500_fg: Do not free non-requested IRQs in probe's error path
authorKrzysztof Kozlowski <krzk@kernel.org>
Fri, 4 Oct 2019 15:07:37 +0000 (17:07 +0200)
committerSebastian Reichel <sre@kernel.org>
Sun, 20 Oct 2019 13:18:08 +0000 (15:18 +0200)
commit0f9c0caf4bc2c56a0f11253c00298b4eb9adac8d
tree5e048ccde3483bc6542e2ed41b7274afeead1b23
parent88eaf0cf99a27d23352295709e8d5a5e9de75bfb
power: supply: ab8500_fg: Do not free non-requested IRQs in probe's error path

When requesting interrupt fails, free only interrupts already requested,
not all of them.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/ab8500_fg.c