From patchwork Thu Dec 29 15:50:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 37424 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2466777wrt; Thu, 29 Dec 2022 07:52:24 -0800 (PST) X-Google-Smtp-Source: AMrXdXs4QBt/A13sFxVXpaCKgRCmM0uD81rcuH8prQzRVq7brxWUpKTJ8Tg12TZJJ9TWDPOjUiNf X-Received: by 2002:a05:6402:456:b0:484:8b49:e117 with SMTP id p22-20020a056402045600b004848b49e117mr13071939edw.3.1672329144596; Thu, 29 Dec 2022 07:52:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672329144; cv=none; d=google.com; s=arc-20160816; b=G/CwM99UBGb2mIJ6nh8Gku8EV4ip3sT3blVRDASNLbEYeMNvstoC0fmt93LfoxEhRZ l2/ROrsC1yFNQnEN2+ScSB8HeHGe48nvxxqtZMFIzYtD/sR0smoUtvf8msBCd57s9JBo pquJeXvqELenP3fDAA1eZ0aW4WpS67VC/kPEqb7Oar5Au3FeCV2p5NMuR+Cw0eheW5P8 lcL5ivMZ0m2iC9Cm8hooev4WDSqGfZod7sYV8swE7qDIY0jAEn2RBUXqjsvDP4X1y5e3 193XGURV/AUNLpPgDT/1e9EsJZEjilRK1pg7kBoVPSzVCkaJTvWGFecz/U3HETDMWy6v QXvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=DkB27LPR1wcJc7taGvEiK7AOVm/t2Nr5dcxakfWBn9k=; b=wo0lOYUAdj9sNTIRKl+NBxmbim60wIoS8xYtzj0EPkUxiJOmWtzAxQ9FqlkoBbSULx XZSAwa8FpE8SWvw5ANnK7y57wR2C7vx+5vfCm9S4d96FKIVb1S97DoRKqo/Ms3tthdFa JkWVa0LOo4F6otra54ZK4xuPdK330HNcbcKw81C3Oc8rN9y4f68HY1erGrBl8Cl63P3+ Sn/lHcHjMsbwXDs0ZuVMXblErNLVhBGC2lHGK38N4BMUkLteabJ7jm+qQoiovPSjKaM8 h4LOiQ3dei5PAmYKAKf5gpjWUiz53q8BNfxpqOJuABm2zlj8dlNHLn5zKdr/yCgNIq9Q sOhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=LEH6TFS3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s3-20020a17090699c300b0084c439a1da6si11537875ejn.137.2022.12.29.07.52.00; Thu, 29 Dec 2022 07:52:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=LEH6TFS3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233627AbiL2PvR (ORCPT + 99 others); Thu, 29 Dec 2022 10:51:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233548AbiL2Pum (ORCPT ); Thu, 29 Dec 2022 10:50:42 -0500 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D2CD13F91 for ; Thu, 29 Dec 2022 07:50:41 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id m3so4512884wmq.0 for ; Thu, 29 Dec 2022 07:50:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DkB27LPR1wcJc7taGvEiK7AOVm/t2Nr5dcxakfWBn9k=; b=LEH6TFS3yo9QeOtdYvcsnaqBkKSh+uPUsa1dokWOiMyJAoALyxlxz2Haou9BOOx3LR dqBUCKcYJbrhmjY+CWhwZW6+zLpiGKsuFjy7LsqPOe0SwxCqSvBN4kXfJRLR40Qo017x LOmbHZ8d6R5R29SqxD6Tn+CeyIPT+UxLEHMwfcvCOQjbLd90j91FP8D6YAUp+tkOrDOz 3huBNH4ko659EKNzQ8Wk+fl6BBoWFDodYEq410F2eKpYVL/AUNXb4hMcYeqiHNTx7YsD 0PFwwA3FaIR1oyTdGFBreJ1Dc6TPcMcxv6CNRxjNe+rRMNgnt0bvbNGuIcQv3FDDhFwO w1sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DkB27LPR1wcJc7taGvEiK7AOVm/t2Nr5dcxakfWBn9k=; b=g8stYde9dq+nK0G7/ljfkJt228uS6LP4nOJZn2dPWyjWb+j3rVKZy1+6qnkalPkSlL kPeQqMvk1/qphlKzf22oFmYUjqF0pns8HAtq9AAj8pOXlRIu+lowFfk3+5KoT0iPicrQ 2yb+NVEpA+KZbZslyk8LlP2UkQTbA/flPq7syS7rOFUpc7ltf9tYRS2y8u7VYo8XQVAo HvJrIOcwh6WM7XDWJmPOaWgap3jCjGlMupm62i/5hrt6sd1/QWrrqvR0akZDFUftrcG9 iJ6LOiIkbirD88StSONrQMoVCL/XZSfnbhK5Jb5NZH5vGtb++LmFp3KiNboNfaFKZDek P/YA== X-Gm-Message-State: AFqh2ko1OskOXXwx7LNhvG1TCP7Aa84GCXkTRkJco2FT9BDw7CbfUEfZ aZgCxijlyR97PMvuDGT4ll0SxQ== X-Received: by 2002:a05:600c:22c4:b0:3cf:8ed7:712d with SMTP id 4-20020a05600c22c400b003cf8ed7712dmr23773442wmg.14.1672329039860; Thu, 29 Dec 2022 07:50:39 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:8f7a:98d8:9d8d:ced8]) by smtp.gmail.com with ESMTPSA id bh12-20020a05600c3d0c00b003cfa81e2eb4sm25251647wmb.38.2022.12.29.07.50.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Dec 2022 07:50:39 -0800 (PST) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Greg Kroah-Hartman , Jiri Slaby , Srinivas Kandagatla , Vinod Koul , Alex Elder , =?utf-8?q?Ilp?= =?utf-8?q?o_J=C3=A4rvinen?= , Krzysztof Kozlowski Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-serial@vger.kernel.org, Bartosz Golaszewski , Konrad Dybcio Subject: [PATCH v6 06/14] tty: serial: qcom-geni-serial: remove stray newlines Date: Thu, 29 Dec 2022 16:50:22 +0100 Message-Id: <20221229155030.418800-7-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221229155030.418800-1-brgl@bgdev.pl> References: <20221229155030.418800-1-brgl@bgdev.pl> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753564205147671361?= X-GMAIL-MSGID: =?utf-8?q?1753564205147671361?= From: Bartosz Golaszewski Remove stray newlines around #ifdefs for consistency with the rest of the driver code. Signed-off-by: Bartosz Golaszewski Reviewed-by: Konrad Dybcio --- drivers/tty/serial/qcom_geni_serial.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/tty/serial/qcom_geni_serial.c b/drivers/tty/serial/qcom_geni_serial.c index 803a46ce4179..f4e2486b2115 100644 --- a/drivers/tty/serial/qcom_geni_serial.c +++ b/drivers/tty/serial/qcom_geni_serial.c @@ -320,7 +320,6 @@ static void qcom_geni_serial_abort_rx(struct uart_port *uport) } #ifdef CONFIG_CONSOLE_POLL - static int qcom_geni_serial_get_char(struct uart_port *uport) { struct qcom_geni_private_data *private_data = uport->private_data; @@ -545,7 +544,6 @@ static int handle_rx_console(struct uart_port *uport, u32 bytes, bool drop) { return -EPERM; } - #endif /* CONFIG_SERIAL_QCOM_GENI_CONSOLE */ static int handle_rx_uart(struct uart_port *uport, u32 bytes, bool drop)