serial: sa1100: delete .set_wake callback
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 15 Oct 2013 07:20:26 +0000 (09:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Oct 2013 20:16:18 +0000 (13:16 -0700)
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>
drivers/tty/serial/sa1100.c

index ba25722a7131ba11246c88a26a800fa7493b69bb..753d4525b36743ab23aaeed37c0205b39fb21788 100644 (file)
@@ -647,7 +647,10 @@ void sa1100_register_uart_fns(struct sa1100_port_fns *fns)
                sa1100_pops.set_mctrl = fns->set_mctrl;
 
        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)
This page took 0.025212 seconds and 5 git commands to generate.