Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1445330pxm; Thu, 24 Feb 2022 03:22:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJwEACHTa2NuCiUKmQjQQyOJ1OtOGA0BGcgQxD82HPyOHqSGpm/UuJcxW4mNICkssM9Qdn+b X-Received: by 2002:a05:6a00:d4c:b0:4e0:27dd:37c1 with SMTP id n12-20020a056a000d4c00b004e027dd37c1mr2413077pfv.86.1645701756008; Thu, 24 Feb 2022 03:22:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645701756; cv=none; d=google.com; s=arc-20160816; b=LfH0qxDdt4vpa/eAdJIvE7/4EagQErLQND8RRt7smtqX2Exfh444HbIbRRBlC5ReZ+ uTlIfpnw39CK5qZD98xXg8MrynldnAOPF5sXyPmtByWjSM51CPK3nK1aNXC3lH1oOKNN vGASjxKEYW+6XAToxXXV5+4Zc26/z9Ux2ZxSbu2kGg3hR3NYZQ+jcE9L7RLAV7jLlcDC e9BrAeaiRSn1Fy4mHx8QXy5ddbS4zImEUOuBZ10EantDLGiLIKI1A+pmqktOnU6IwOYV owlbr3GyJfaLzpBD49LipuMoedndSB2lrfux/MeMugej0RJfjtjzZ8nHQmAmPjV/fqjT o81Q== 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 :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=pnTd8/D0+vuGbUPMnE7NdXcE0J73CB8cyYdF/RwxZDM=; b=U6KJ1QpD7rt5oMcDDz9iPpcee0Hm4uJ2krfEUsMHOvlvzicWnjhEDJPA6POeuMCx6H 8mN+58/o29A2N1U8t71Z8rSXaHHdMWXG/Tfp7WFtmLvsdEOXfAcWQOoPlga/MSvG9G3D d2EuwFMz1vSvlMv8/LSXVzQ7iyHaJZ/KJOd6ig7sz4DEbSXys/8pcj5xQTSDkffcbT+3 UpWkg3L7hyoW2AdkSTdFm6kudAqB6mHgNW3UeiXUhVZ28O9fJJeAG1IT/e8DaGBO8r0B zht7oOzuRL3y11aG/f+lYzPkAGO9tzqTXW5CAjdgX2av/lgr8Lt0d5v8GASh2cuNOpTQ aS7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=0kHboYJq; dkim=neutral (no key) header.i=@suse.cz; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x2si2022218pfp.185.2022.02.24.03.22.21; Thu, 24 Feb 2022 03:22: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=@suse.cz header.s=susede2_rsa header.b=0kHboYJq; dkim=neutral (no key) header.i=@suse.cz; 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 S233865AbiBXLLN (ORCPT + 99 others); Thu, 24 Feb 2022 06:11:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231497AbiBXLLK (ORCPT ); Thu, 24 Feb 2022 06:11:10 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B664251E76; Thu, 24 Feb 2022 03:10:30 -0800 (PST) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 20C601F37F; Thu, 24 Feb 2022 11:10:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1645701029; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=pnTd8/D0+vuGbUPMnE7NdXcE0J73CB8cyYdF/RwxZDM=; b=0kHboYJqp7HUnyDHvsYt676BFqFu4t4yqxg/hJtzNeOWZLpr6UMxzZhf4tuJ5G4IITMv40 kTmLrr1g+3ZWK8nkwUI2NxaOtpsOjWaGP8qYpLg7rXz79s0d3Jl5vIdSzHMQmAhRHz/DW2 fCxEuO4aqyiisO5NTNso/R4pmv93LXg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1645701029; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=pnTd8/D0+vuGbUPMnE7NdXcE0J73CB8cyYdF/RwxZDM=; b=4szQIPFdRLyM6l3A6Uo5BlNafD5iWdncH7+/+yMOWx5CJEqnT9zjamEiQDc0VY28lCHU3o KQ/39+dirrQLEHBw== Received: from localhost.localdomain (unknown [10.100.208.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id EBABBA3BAC; Thu, 24 Feb 2022 11:10:28 +0000 (UTC) From: Jiri Slaby To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Jiri Slaby Subject: [PATCH 0/5] tty: serial: various cleanups Date: Thu, 24 Feb 2022 12:10:23 +0100 Message-Id: <20220224111028.20917-1-jslaby@suse.cz> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 This is a small cleanup series of what I have accumulated over past few weeks while doing larger changes. Jiri Slaby (5): tty: serial: mpc52xx_uart: make rx/tx hooks return unsigned tty: serial: serial_txx9: remove info print from init tty: serial: serial_txx9: remove struct uart_txx9_port tty: serial: amba-pl010: use more uart_port pointers tty: serial: lpc32xx_hs: use serial_lpc32xx_stop_tx() helper drivers/tty/serial/amba-pl010.c | 174 +++++++------- drivers/tty/serial/lpc32xx_hs.c | 10 +- drivers/tty/serial/mpc52xx_uart.c | 22 +- drivers/tty/serial/serial_txx9.c | 369 ++++++++++++++---------------- 4 files changed, 266 insertions(+), 309 deletions(-) -- 2.35.1