From patchwork Tue Nov 22 10:21:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 24247 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2118575wrr; Tue, 22 Nov 2022 02:23:45 -0800 (PST) X-Google-Smtp-Source: AA0mqf5H5zJTUAzWf9YTxmrAC4+g1chIOpFFNjyLvcr81ykDNiaQA2Vgb9lJyqnmDcRBA+p6yACs X-Received: by 2002:a17:906:a08e:b0:7ad:79c0:5479 with SMTP id q14-20020a170906a08e00b007ad79c05479mr11313458ejy.392.1669112625442; Tue, 22 Nov 2022 02:23:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669112625; cv=none; d=google.com; s=arc-20160816; b=HVekmAGxWrcn5nCe6X5DRARzppOuovu8xrIrcBtD+yS4rBrPQlxctL6mNnEr+B4Crn CFZxVltu2hFkur/qA5uemTKxAw98e5/yD4BtcEvtIQn6t2eydr37EHyepRJJpouSf+QU vn1KESYa/wWWvg3buaZMR04J9uD54jb0yXQfnr1EFUXSW9rxPBF/dh5y3fVB/oakV/oi 2X11PlSmHf66D9vvGA+ELZTFpdoKbeml7XDm01l4Zt3uAdbOmfA/FPBEjqmReNrKDeMv m9Qtq3CZX8RDfMNSSBgVqteFpHbgdDC8AFGAKzLfWGdl1ALq3VRKjfiMLm/JtxPqf25t 9+hQ== 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=L0KsZw9P/Qu9NbFnmsCFgpm7LLOLLRAeZx5TufxC/R2EDBAIyUJFjFxEeH4wsSyNzl bGescjEACVMp9QiaLcroKrmJphiK43vEDK4S0/KLzScf/X0bWXmnqFrr+HUgtZfo9BzG bhcGHZ9yjm2ptrRRT3T3vFXriXsLFUXSMGL2JT/BhowuqFAw4eU6SBsrwkHoV3A0cpEm z6LRc4WGPzuZyQQEle0GDdcgmwKQcxSA0KPZrMvl3PqLl83dIwEiGvhn/xUPB0f+jLO6 YzoGRraMkC80AMVjK4e4s81MMsyFQ3bKghohT46/HpBxpR4UK+MJRi2Ae6XOK/lwpF/5 KmDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=R6ndji7+; 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 qw25-20020a1709066a1900b007adcaf49e94si5349180ejc.157.2022.11.22.02.23.22; Tue, 22 Nov 2022 02:23:45 -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=R6ndji7+; 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 S233509AbiKVKWx (ORCPT + 99 others); Tue, 22 Nov 2022 05:22:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233508AbiKVKV7 (ORCPT ); Tue, 22 Nov 2022 05:21:59 -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 6F22B2B63E for ; Tue, 22 Nov 2022 02:21:47 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id p13-20020a05600c468d00b003cf8859ed1bso10949900wmo.1 for ; Tue, 22 Nov 2022 02:21:47 -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=R6ndji7+Z7eIGI+xSLKlf1o4GusY5/a6I5ZysX39NUiu7KpKfdXWgeXYc+71C0WmTH jVkqWnAB4XPTlrikOJiwnfswZOD1AEVX9BALyKNi0eXQLb2hu++iL6obIRd63rOpi31p VysrjF1RhgWa7jfLrPlUUS42wlrvWBD2tqcOKo0U7LI7tqhHJQjx2lF53YbONT9oABvI jheecx0OTkOSLhwTATg1kneO3685gDluzpuqQeE6nTD10t0ioc3J3Q3WX7qLCX9HNmow H3qB0hyXuw16p0W9EJo4sDEEll4R+J1SeUJxC7y3E9nsZGYedXsgu1TX/C/LYIjyeVI7 u4iA== 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=BnOMZOPiTTzCCKc6+46Og0jNAndHmnHZMT7K7DuaIQYePsXY0itpjR4VRPhs1yno1d iKyx9xnzqw/mghVHedx6DnqvvYBpeOYBA+uHCWqOM6x54mQ+1gmDUjVK/5ILuoGmcaKE R4WuWZlUkW3J4cFksiPvg1KfcWeI9V+y2ZSvEFOuyRYeGomw4htgLVE+7r3gYBYHtt2B +MmI7ikS8W4750JaO+jFtyiVe9EG9suFlUvhvqUozaRCZC39QvwWXldiL+6BZXlrtoF1 TO905EwijO1rLvdFNpOJeXMxgEubq5IsqTaU206PS7qplOs3W6Z3fW11zZfdFV5oF5+9 jrFw== X-Gm-Message-State: ANoB5pk8+98N5hvspk+uPja6XdQI7lY/ih5v0XabhGOA+1+PK1RKdQMO rFs0anlNZie5S3LtlNpvNJ105w== X-Received: by 2002:a05:600c:4e8d:b0:3c7:6e1:b5c9 with SMTP id f13-20020a05600c4e8d00b003c706e1b5c9mr9520274wmq.154.1669112506011; Tue, 22 Nov 2022 02:21:46 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:e011:9e81:66f1:3415]) by smtp.gmail.com with ESMTPSA id o3-20020a5d4083000000b002366e8eee11sm13432873wrp.101.2022.11.22.02.21.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Nov 2022 02:21:45 -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 v2 05/15] tty: serial: qcom-geni-serial: remove stray newlines Date: Tue, 22 Nov 2022 11:21:15 +0100 Message-Id: <20221122102125.142075-6-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221122102125.142075-1-brgl@bgdev.pl> References: <20221122102125.142075-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=ham 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?1750191440317932369?= X-GMAIL-MSGID: =?utf-8?q?1750191440317932369?= 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)