From patchwork Wed Nov 23 11:07:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 24902 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2723798wrr; Wed, 23 Nov 2022 03:13:35 -0800 (PST) X-Google-Smtp-Source: AA0mqf7fJNNvIBDXzNTsU49a0ow+ZswGYHIocDtM/LBdENBtj0/kofCcMp/Werl0Bv5C2OH9WNXv X-Received: by 2002:a17:90a:71c5:b0:213:b0e:ede8 with SMTP id m5-20020a17090a71c500b002130b0eede8mr19677573pjs.89.1669202015602; Wed, 23 Nov 2022 03:13:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669202015; cv=none; d=google.com; s=arc-20160816; b=Nhpx91RxrSZL3UCsdHyG6Fhga3w7UEwSOyzknaEpbHy3d8Z23tjgJC5rSDZOFdY1gG YZEwaixXTvCbMI/r5aMR0nRiYIfNUXs/npQExAw1F863d5TjX6ovHK5WecrInqPqtn6Z c//Jm+2fOh8OPvxHjgeCJdLg3sTz+BTNi/SEd3LhYf5rcg/Sc7HH8o0dvAca3R58x/ex iy5Okst7DO8ATvVTJxwFQ5cdhTor2lk6Em3j8qa9Gh3jeCbOjSaKEo5nQFcsQeRUi+rC ri0qf+i0/vYg1iRAbgyKZNNbhj7o+f8p2ALdVynCB02Pgfqu2LoyPOcOA8OIuXsHJVsK 6D4Q== 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=EonL2PwB0Makj2JepNmLczYfWSZatIPogqShuTJezMI=; b=v6+rKgeWI/IEKIjFSO4VDMTYsBQIRsC8HKAhEiW3D9X9cUVNpYa7MYk2cmui354C5q T13fU6FalNHenzcuJ+0v9dCY67CzqjAyQRx/cc8hRFOBT6HSGlYr5GgMv6EijTvHXd+A DGirzvIYxR+zH1zGj1IsQeSDw0OxhNVQo2ib4uXRoK+z4kcUTIv7dsNzSRcr54++y5Aq TavuTdwlcZMIR9xSPz39yd4dGfSdgbcl8Bot9fFjjrwq8ZQJxhWBosqoL5ficbCB+Fn0 mQ+QfGu5zkaV58bJfkYk0RGC0pcba873jcmdzWPK2p4pQG2xRxv+fWnzaV2m/XmG3m12 QVZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=y+h8KSTl; 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 b19-20020a056a000a9300b0056bcbc51d79si18039428pfl.169.2022.11.23.03.13.22; Wed, 23 Nov 2022 03:13:35 -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=y+h8KSTl; 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 S237057AbiKWLJZ (ORCPT + 99 others); Wed, 23 Nov 2022 06:09:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237539AbiKWLIb (ORCPT ); Wed, 23 Nov 2022 06:08:31 -0500 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7CC28DA6F for ; Wed, 23 Nov 2022 03:08:10 -0800 (PST) Received: by mail-wr1-x429.google.com with SMTP id cl5so28866989wrb.9 for ; Wed, 23 Nov 2022 03:08:10 -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=EonL2PwB0Makj2JepNmLczYfWSZatIPogqShuTJezMI=; b=y+h8KSTlvJEDdoUPd4LwiIlAz/2krzVRVWUIA2XxuS+VYYpNHMGi3UVCblbh0TcuAa ZIlRRcdXqugHD1hgmV1Qfc1y5TGepgh9rUQM8rJ6g7ApdKGFAxym87H/urDdRayYvWXf 2IrXxRq+bXsjg8MnjI6AFK7QW9bhav0ftKbu+jC1cYzRnHn8e5k1ofFdBSkg/AB2YpZ2 DoPGElPz9rigwi7f1opVlTz82twOy1YL+56i2TKsOEMt/k1QGSwwqzv1PGdgUsGLNRit 4izPXRymbCFuFiSw9xCLsTZXgC7c8/vHMjYZ9FcRNxbQkvTidKnlOXUKJuPfRDQxkaSc 2opA== 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=EonL2PwB0Makj2JepNmLczYfWSZatIPogqShuTJezMI=; b=xggr48O6LpIUsFHrMWaeGXMHk05G6zH7nEw6p8PqONcgZkojvWYvQPi11kheyBi4Y/ gwDYWUlOrOLRmxca1r0+CeqUct4wepj8tTrFnBJydsWzfGVUoZmvB4naCcGNgMiw6eoK 6wGWw7uTlLNO51B/7mfjF3PXOwqDapz0U4nxMfmrD54e7f8KF2mhKyUQVli3NC1iPjDu OWdmIcYUynf8xWMQ3Re1/pB950JFDVOCyYFgMYODfHijZNuzQRnQEtzW3urOTOALStN/ /r3FcLgs3++MADd8OE+XIEMfJ9bBtXsmNzf7hx8RV5ezmD3o20BdK88NEUoekiydVzxY 8pcg== X-Gm-Message-State: ANoB5plaUaXK8aKsxgj8DjGuAAsTia4s1vWhJ/+ewJH5I4s2AzkdlOJO w2ty86ULCUTUTEEl0ru5AYA+Fw== X-Received: by 2002:adf:ff83:0:b0:236:6824:c227 with SMTP id j3-20020adfff83000000b002366824c227mr17330446wrr.510.1669201689497; Wed, 23 Nov 2022 03:08:09 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:ae74:d94f:4677:3378]) by smtp.gmail.com with ESMTPSA id f13-20020a05600c4e8d00b003c6c182bef9sm2560406wmq.36.2022.11.23.03.08.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Nov 2022 03:08:09 -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?= Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-serial@vger.kernel.org, Bartosz Golaszewski , Konrad Dybcio Subject: [PATCH v3 05/13] tty: serial: qcom-geni-serial: remove stray newlines Date: Wed, 23 Nov 2022 12:07:51 +0100 Message-Id: <20221123110759.1836666-6-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221123110759.1836666-1-brgl@bgdev.pl> References: <20221123110759.1836666-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?1750285172429636373?= X-GMAIL-MSGID: =?utf-8?q?1750285172429636373?= 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 e4139718e084..ec2523736e99 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)