OSDN Git Service

mfd: cros_ec: Free IRQ automatically
authorVincent Palatin <vpalatin@chromium.org>
Wed, 18 Apr 2018 10:23:59 +0000 (12:23 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 29 May 2018 08:10:20 +0000 (09:10 +0100)
commiteb3f2f2396d1f8e1043b7613aa657fb4fd4ebc3e
treeb47511be9447c0a60f1ee9339c32bc6b19af1edc
parent0dbbf25561b29ffab5ba6277429760abdf49ceff
mfd: cros_ec: Free IRQ automatically

Free the IRQ we might have requested when removing the cros_ec device,
so we can unload and reload the driver properly.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Acked-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/cros_ec.c