Commit adedb750 authored by Linus Walleij's avatar Linus Walleij Committed by Greg Kroah-Hartman

serial: sa1100: delete .set_wake callback

This callback is unused by the serial core since pre-git days
and is not coming back. Delete it. Enabling wakeup on the
SA1100 platforms should be done in the suspend() callback
so the platform hook is left in the serial port struct for
later enablement.

Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e701bcad
...@@ -647,7 +647,10 @@ void sa1100_register_uart_fns(struct sa1100_port_fns *fns) ...@@ -647,7 +647,10 @@ void sa1100_register_uart_fns(struct sa1100_port_fns *fns)
sa1100_pops.set_mctrl = fns->set_mctrl; sa1100_pops.set_mctrl = fns->set_mctrl;
sa1100_pops.pm = fns->pm; sa1100_pops.pm = fns->pm;
sa1100_pops.set_wake = fns->set_wake; /*
* FIXME: fns->set_wake is unused - this should be called from
* the suspend() callback if device_may_wakeup(dev)) is set.
*/
} }
void __init sa1100_register_uart(int idx, int port) void __init sa1100_register_uart(int idx, int port)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment