serial: omap: free the wakeup settings in remove

Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Sanjay Singh Rawat 2014-03-21 13:55:10 +05:30 committed by Greg Kroah-Hartman
parent c9eaa447e7
commit 93a2e470ef

View file

@ -1789,6 +1789,7 @@ static int serial_omap_remove(struct platform_device *dev)
pm_runtime_disable(up->dev);
uart_remove_one_port(&serial_omap_reg, &up->port);
pm_qos_remove_request(&up->pm_qos_request);
device_init_wakeup(&dev->dev, false);
return 0;
}