mfd: tps65218: Use devm_regmap_add_irq_chip and clean up error path in probe()
authorKeerthy <j-keerthy@ti.com>
Sun, 9 Dec 2018 13:59:31 +0000 (19:29 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Feb 2019 09:08:52 +0000 (10:08 +0100)
commite42296ae45a63f6e378a23fe3b4f4d58f9757566
tree29d23ee0e0bc9dd67917d34d02f4dca75a3e0709
parentbeaf260ec8204729cbd8e4b3d19b37ed18b870b2
mfd: tps65218: Use devm_regmap_add_irq_chip and clean up error path in probe()

[ Upstream commit 75d4c5e03c2ae9902ab521024b10291f6fc9515b ]

Use devm_regmap_add_irq_chip and clean up error path in probe
and also the remove function.

Reported-by: Christian Hohnstaedt <Christian.Hohnstaedt@wago.com>
Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mfd/tps65218.c