From patchwork Tue Oct 15 07:20:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 21014 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f199.google.com (mail-ie0-f199.google.com [209.85.223.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B18FC20D84 for ; Tue, 15 Oct 2013 07:20:24 +0000 (UTC) Received: by mail-ie0-f199.google.com with SMTP id qd12sf13331789ieb.10 for ; Tue, 15 Oct 2013 00:20:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=2OA2qxaQud0K2sCaLYx4wlihZikCT9MvvgBV0ijNdak=; b=LMkOazm6anXr6Um0kvtLXnYR/Q8v8oWRNi8qb/pT3woHf0enfF/6ZE5SaEKpQ1IVDd 27KOP4phFA3f1V26cc96s4Gr+HFh1hh8ev6ET3+HErSakJgB/Qz0OCZ0lMmPfGWqgv82 zTX2Fyri/dPyKezfke+xz8gsR6R/L2eyPtI/DKI8norpbBSLe3CTL2gNCUMTN8QMuEFp rCvmBRRBYqhWh75+VL9hMEAGWxdrxiqUBOXC2NH66FDPNQGxXS2ZhaQkkhRRt7+vgCIa 8R5rxqoa8b0jCQn4BeOtrrnE9Ips8SBp7P++/MYLAL7oLkhDgvjkqKatQ4I3ZYQxprm0 LXhw== X-Received: by 10.50.134.166 with SMTP id pl6mr8620234igb.2.1381821624158; Tue, 15 Oct 2013 00:20:24 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.62.72 with SMTP id w8ls15587qer.2.gmail; Tue, 15 Oct 2013 00:20:24 -0700 (PDT) X-Received: by 10.52.103.35 with SMTP id ft3mr32782760vdb.5.1381821624037; Tue, 15 Oct 2013 00:20:24 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id m3si18215549vdw.49.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Oct 2013 00:20:24 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id hu8so5124448vcb.3 for ; Tue, 15 Oct 2013 00:20:24 -0700 (PDT) X-Gm-Message-State: ALoCoQlQlZTyEt4Skh17103XJGaxA7hai1ZkgD1zYIp9vfv+6mjHdwurU/nnszmyZN7MDo8wrh6y X-Received: by 10.58.136.231 with SMTP id qd7mr10558061veb.1.1381821623918; Tue, 15 Oct 2013 00:20:23 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp278290vcz; Tue, 15 Oct 2013 00:20:23 -0700 (PDT) X-Received: by 10.180.211.71 with SMTP id na7mr18185523wic.5.1381821622721; Tue, 15 Oct 2013 00:20:22 -0700 (PDT) Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by mx.google.com with ESMTPS id gi5si26452571wjd.171.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Oct 2013 00:20:22 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.173 is neither permitted nor denied by best guess record for domain of linus.walleij@linaro.org) client-ip=209.85.212.173; Received: by mail-wi0-f173.google.com with SMTP id i19so454045wiw.12 for ; Tue, 15 Oct 2013 00:20:22 -0700 (PDT) X-Received: by 10.180.73.134 with SMTP id l6mr17986108wiv.16.1381821622289; Tue, 15 Oct 2013 00:20:22 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id ev4sm3277682wib.7.2013.10.15.00.20.20 for (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128/128); Tue, 15 Oct 2013 00:20:21 -0700 (PDT) From: Linus Walleij To: linux-serial@vger.kernel.org, Greg Kroah-Hartman Cc: Linus Walleij , Tony Lindgren , Kevin Hilman Subject: [PATCH 1/5] serial: omap: delete .set_wake callback Date: Tue, 15 Oct 2013 09:20:08 +0200 Message-Id: <1381821608-19397-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.8.3.1 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This callback is unused by the serial core since pre-git days and is not coming back. Delete it. Enabling wakeup on the OMAP serial driver is done through other runpaths these days. Cc: Tony Lindgren Cc: Kevin Hilman Signed-off-by: Linus Walleij --- drivers/tty/serial/omap-serial.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index 816d1a2..86830db 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c @@ -1060,15 +1060,6 @@ serial_omap_set_termios(struct uart_port *port, struct ktermios *termios, dev_dbg(up->port.dev, "serial_omap_set_termios+%d\n", up->port.line); } -static int serial_omap_set_wake(struct uart_port *port, unsigned int state) -{ - struct uart_omap_port *up = to_uart_omap_port(port); - - serial_omap_enable_wakeup(up, state); - - return 0; -} - static void serial_omap_pm(struct uart_port *port, unsigned int state, unsigned int oldstate) @@ -1401,7 +1392,6 @@ static struct uart_ops serial_omap_pops = { .shutdown = serial_omap_shutdown, .set_termios = serial_omap_set_termios, .pm = serial_omap_pm, - .set_wake = serial_omap_set_wake, .type = serial_omap_type, .release_port = serial_omap_release_port, .request_port = serial_omap_request_port,