diff options
-rw-r--r-- | drivers/power/reset/ltc2952-poweroff.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/power/reset/ltc2952-poweroff.c b/drivers/power/reset/ltc2952-poweroff.c index 8e04b3299f9a..240b294a0980 100644 --- a/drivers/power/reset/ltc2952-poweroff.c +++ b/drivers/power/reset/ltc2952-poweroff.c @@ -285,6 +285,8 @@ static int ltc2952_poweroff_remove(struct platform_device *pdev) struct ltc2952_poweroff *data = platform_get_drvdata(pdev); pm_power_off = NULL; + hrtimer_cancel(&data->timer_trigger); + hrtimer_cancel(&data->timer_wde); atomic_notifier_chain_unregister(&panic_notifier_list, &data->panic_notifier); return 0; |