Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Linus Walleij and committed by
Greg Kroah-Hartman
adedb750 e701bcad

+4 -1
+4 -1
drivers/tty/serial/sa1100.c
··· 647 647 sa1100_pops.set_mctrl = fns->set_mctrl; 648 648 649 649 sa1100_pops.pm = fns->pm; 650 - sa1100_pops.set_wake = fns->set_wake; 650 + /* 651 + * FIXME: fns->set_wake is unused - this should be called from 652 + * the suspend() callback if device_may_wakeup(dev)) is set. 653 + */ 651 654 } 652 655 653 656 void __init sa1100_register_uart(int idx, int port)