power: supply: wm8350-power: Add missing free in free_charger_irq
authorJiasheng Jiang <jiasheng@iscas.ac.cn>
Thu, 3 Mar 2022 09:43:22 +0000 (17:43 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:23:37 +0000 (14:23 +0200)
commit4124966fbd95eeecca26d52433f393e2b9649a33
treea31b25a02fbe8cf5d7d7a532bae417ff9f730dfd
parent1318caf07507b802a7222d31ce844e8b02219f80
power: supply: wm8350-power: Add missing free in free_charger_irq

[ Upstream commit 6dee930f6f6776d1e5a7edf542c6863b47d9f078 ]

In free_charger_irq(), there is no free for 'WM8350_IRQ_CHG_FAST_RDY'.
Therefore, it should be better to add it in order to avoid the memory leak.

Fixes: 14431aa0c5a4 ("power_supply: Add support for WM8350 PMU")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/power/supply/wm8350_power.c