Message ID | 20221118145512.509950-5-gsomlo@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp239509wrr; Fri, 18 Nov 2022 06:57:02 -0800 (PST) X-Google-Smtp-Source: AA0mqf5OuwyGHfHdpOBTpPa+eZWdObYhBn5y3LSXILPjShSQ80ZIO6jwBcnmgWInJiljqPh6ll67 X-Received: by 2002:a17:906:29cc:b0:78d:a836:1d88 with SMTP id y12-20020a17090629cc00b0078da8361d88mr6307985eje.470.1668783421902; Fri, 18 Nov 2022 06:57:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668783421; cv=none; d=google.com; s=arc-20160816; b=chE4FbpKHOszQPNcCIS+xPlTnV2Ffhy/7V2ioDBWM6VnwPLhWPptAhv2MqkCxBopVN 2ZY9HahYoY8PnlIvfsCW6B0NpKkO49KnZTYeI5Y/MyLB5HWAx3Lb/GBbBiQJEMEt3QK8 4E8zQ0hqYnuVgghXWx0OsvTGwtB0dkyAG54668hn60qvp8K9W7CXnSM6Gbggrx2WSaHq 75RYZ6gR/uR8sgQ0h0kyTE03emP++aypFUpnmfqWgR/IPZOSgNToL7rDKIwfAK68StjX UB02fBFfl8hUEQ24ND6x+P58qGoURA6FGWWuh/ETGHYW/Rt8/RKbaQ3ZtIfsgBJuW3Es 1qsQ== 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=QYR5NsE6sy8TKuNQHq0fl0E+u87DDSloXcW16PVAy78=; b=xHnuObkNTLxes1mxERJoDeAMQzEyuatuK7WPXF5mNMQQoiBTBazRIBP8qlm6JGazVl HCnRV4zhH8dpbMyysf3C+vSYbZMb4SA+d1I3F7LQJRzyXFlbsJv4Wb3XuyOq58Q8IM7G QOppr7zUQZw5WGF984BfkC65iI5NYL9D1Sde6FXoqaoB1t02KKZcXF6BSlCNWQdiKbC9 2TU77/GiANnonuUctS9jqkcc+oUfCvhKAur7iv1fZw587pHbMJ2/0xp2nmxNLJEi/G6p GSh6u9MVv/Nt/nU3GJ7cWAErWoX4wqeciqJ4lnb2oLPY7nd9W8It4+/b48wy6iDIu5kw sdNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=G9tTwOup; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jt24-20020a170906dfd800b007317274bb0dsi2648626ejc.979.2022.11.18.06.56.36; Fri, 18 Nov 2022 06:57:01 -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=@gmail.com header.s=20210112 header.b=G9tTwOup; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242045AbiKROzz (ORCPT <rfc822;kkmonlee@gmail.com> + 99 others); Fri, 18 Nov 2022 09:55:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241758AbiKROz0 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 18 Nov 2022 09:55:26 -0500 Received: from mail-qv1-xf2f.google.com (mail-qv1-xf2f.google.com [IPv6:2607:f8b0:4864:20::f2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E510D8FE7B; Fri, 18 Nov 2022 06:55:25 -0800 (PST) Received: by mail-qv1-xf2f.google.com with SMTP id s18so1875993qvo.9; Fri, 18 Nov 2022 06:55:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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=QYR5NsE6sy8TKuNQHq0fl0E+u87DDSloXcW16PVAy78=; b=G9tTwOupRAJgQot7o/e3aZbJ2VlrhFzVvSQJqfH5Xr3X3zIYmwia13I6H5GzRQnefQ TuSpAuBcT2U8k7sA7YEGEH4w9eGmqkt3imQWrMvxHxjPT3W0zlEFLOnGbYWOy9P6GD9h VDsq6xfyShlnmr1YnPvDZQxTSEFTaUYwnkEGoL7qQeEhtKEylRBwvY+MLd1gD1zmxitj yKjG0ePTf7T2vvlHl0jiD3tSRGr4ugdqgprzwkTj2n0tdPUHHcKNcNaE63h6+nAKsdLX sx31au5oly+kwHDCfPDSKqRTRSth7HtIlgUhlQcyK5IqYTXLPPXotQnWH8xc019aVGqu NC8Q== 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=QYR5NsE6sy8TKuNQHq0fl0E+u87DDSloXcW16PVAy78=; b=36xi7fgtUtLKs86iT55nizMa+K5ULXmEbDaRdkTVS6etRvnikAPF2PWv3lYnms3w7w 6ZzPQdhf0q9FkQLv7OfEbPFgdRQ2kjU08YA24vd97Y7ntEIcc6ILU4dw39OEJawZqUll cKbMxYsTlihGj5Vi1uaAR4QAOO5XjeMTlyd6z5Lpq1CXSNiCi2zzcHO7swRkc3yCVDtA Ld6SefbE9RrTjlbTUvhkZ7EpOL3sxId1ow0N0jpDuFB5oJsRXygk9OgHp453UMxwS2Bb CbIn0tcTy4RcaikWy25MP9uv/SO27Kt8kLt5lFTM9nEiGnZynjCYRZ8Hae5oGI2HJntg 5vCw== X-Gm-Message-State: ANoB5pl0XF1FVxpthUf2U8UIK7+tZRqnm6KZ++kXznTnDCPKIwwS8c7J g/jZy+iDhuC47FVF9NJyc6o/VqauV3dp3w== X-Received: by 2002:a0c:e70d:0:b0:496:6092:9f0f with SMTP id d13-20020a0ce70d000000b0049660929f0fmr7059215qvn.32.1668783324777; Fri, 18 Nov 2022 06:55:24 -0800 (PST) Received: from glsvmlin.ini.cmu.edu (GLSVMLIN.INI.CMU.EDU. [128.2.16.9]) by smtp.gmail.com with ESMTPSA id m125-20020a378a83000000b006cbc6e1478csm2397269qkd.57.2022.11.18.06.55.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Nov 2022 06:55:24 -0800 (PST) From: Gabriel Somlo <gsomlo@gmail.com> To: linux-kernel@vger.kernel.org Cc: linux-serial@vger.kernel.org, gregkh@linuxfoundation.org, jirislaby@kernel.org, kgugala@antmicro.com, mholenko@antmicro.com, joel@jms.id.au, david.abdurachmanov@gmail.com, florent@enjoy-digital.fr, geert@linux-m68k.org, ilpo.jarvinen@linux.intel.com Subject: [PATCH v5 04/14] serial: liteuart: don't set unused port fields Date: Fri, 18 Nov 2022 09:55:02 -0500 Message-Id: <20221118145512.509950-5-gsomlo@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221118145512.509950-1-gsomlo@gmail.com> References: <20221118145512.509950-1-gsomlo@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749846245172058583?= X-GMAIL-MSGID: =?utf-8?q?1749846245172058583?= |
Series |
serial: liteuart: add IRQ support
|
|
Commit Message
Gabriel L. Somlo
Nov. 18, 2022, 2:55 p.m. UTC
Remove regshift and iobase port fields, since they are unused
by the driver.
Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
---
drivers/tty/serial/liteuart.c | 2 --
1 file changed, 2 deletions(-)
Comments
On Fri, Nov 18, 2022 at 3:55 PM Gabriel Somlo <gsomlo@gmail.com> wrote: > Remove regshift and iobase port fields, since they are unused > by the driver. > > Signed-off-by: Gabriel Somlo <gsomlo@gmail.com> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
diff --git a/drivers/tty/serial/liteuart.c b/drivers/tty/serial/liteuart.c index 989a4f8d5bd4..c6eb7eba5af8 100644 --- a/drivers/tty/serial/liteuart.c +++ b/drivers/tty/serial/liteuart.c @@ -263,9 +263,7 @@ static int liteuart_probe(struct platform_device *pdev) port->iotype = UPIO_MEM; port->flags = UPF_BOOT_AUTOCONF; port->ops = &liteuart_ops; - port->regshift = 2; port->fifosize = 16; - port->iobase = 1; port->type = PORT_UNKNOWN; port->line = dev_id; spin_lock_init(&port->lock);