Message ID | 20230104150023.3115-1-sensor1010@163.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp5188499wrt; Wed, 4 Jan 2023 07:02:26 -0800 (PST) X-Google-Smtp-Source: AMrXdXtAnShzR/r1uxfOOUUWUJ1tjblXX26LhB2b9AWWBgFNPNFFRtEEAxc0XcgJZF9W3ydyF5VU X-Received: by 2002:a05:6e02:145:b0:30c:c44:667 with SMTP id j5-20020a056e02014500b0030c0c440667mr21548360ilr.25.1672844546190; Wed, 04 Jan 2023 07:02:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672844546; cv=none; d=google.com; s=arc-20160816; b=IG1kjxu/nU/f2NzJl0g10Zgus+EegQEh68Plc/f9OJiEl+uGpC/sFz0/dy9gTHxrBu xnJ2BgbaCtpn0yIc2ocTxWswsPWrbAYJqqs5KVsV/SONqgjXI2+74Kgx3ysFzVmvXBOF pXHOW3feJb86zH7R24ewQVgGS7tuQrYFA0b8y7QkopDbZoKS6iiZBep3dpN39OWehgnE 2ZYlPWClze29jt58KIZFFI9RAYOi0GYj0RDqXuJ0halQ33BnhUQKabLbIi0Q95kJBFnG IgzrSn4VgahjULy5TNyCa9cXv/gLP8JN6/X/wKI62SFpqK0wJskuhWuTtRDXVdgQRG8W rlXg== 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; bh=YpZiooOJEO/DV1XqfZfR0XmS7SEZ4HwmdG0B2nCsIk8=; b=K4Zs+UGDv2mwaTz7fO2eyI65Zz3e+00EmmCnz/QCbBaOQdlEcoFdaxbIjfKiheJ9kx yXPtM9sJK4BQbRUfT4a6h6GWYU9NWOXDmiwBK3/tL+r4pqUE+lRXwY55pzb67ADKMu6q JI704mz1N0dgVxIF0z2I9fhFGPuk4hq2gNJUlKGEzUq/aDRIqeZE8rRdZdyBjcEdYrf5 a8IsW1SZ1IlQ3GDMKZ7oTF/RaVBKRiV6tWfXXGggkF0D3vd9dOJ68KWeBvNhVfh1XunZ waKN2GslVFY3otI+fdb7YvxmHUXZ/6t3/xgQFn9N9ZR5HtPtSEcKu8BZNBDRhOvz+T1I RGyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=fu07e0lU; 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=NONE dis=NONE) header.from=163.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o23-20020a17090a421700b0022387a1f9a5si33375949pjg.134.2023.01.04.07.02.12; Wed, 04 Jan 2023 07:02:26 -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=@163.com header.s=s110527 header.b=fu07e0lU; 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=NONE dis=NONE) header.from=163.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239533AbjADPCB (ORCPT <rfc822;tmhikaru@gmail.com> + 99 others); Wed, 4 Jan 2023 10:02:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239538AbjADPBu (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 4 Jan 2023 10:01:50 -0500 Received: from m12.mail.163.com (m12.mail.163.com [220.181.12.216]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 01495A45E; Wed, 4 Jan 2023 07:01:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version: Content-Type; bh=YpZiooOJEO/DV1XqfZfR0XmS7SEZ4HwmdG0B2nCsIk8=; b=fu07e0lUeJS3NEFHej4CLn9BjlqH21fEgrbnxVVD+TRwYWP0cFsDilynu0UE8m gKUAQ0dhR9IjS7oj+nwUTdDZYYcf4usSxuI85B33hKNZQEt7GsENEKp8uWn3+MNz mt8MrgwNTcGTtdQup3lYZT1tei6Pp4/FjgMfEp6HmgPrM= Received: from localhost.localdomain (unknown [36.4.209.174]) by zwqz-smtp-mta-g4-1 (Coremail) with SMTP id _____wDHPj+JlLVjDUduAA--.8610S4; Wed, 04 Jan 2023 23:01:00 +0800 (CST) From: lizhe <sensor1010@163.com> To: gregkh@linuxfoundation.org, jirislaby@kernel.org, ilpo.jarvinen@linux.intel.com Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, lizhe <sensor1010@163.com> Subject: [PATCH v3] serial: linflexuart: remove redundant uart type PORT_LINFLEXUART Date: Wed, 4 Jan 2023 07:00:23 -0800 Message-Id: <20230104150023.3115-1-sensor1010@163.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CM-TRANSID: _____wDHPj+JlLVjDUduAA--.8610S4 X-Coremail-Antispam: 1Uf129KBjvdXoWrtw4rAw47XFW5Aw4fGF1kAFb_yoWDJrc_ur 1DC34xWr10kFWakFn7tFyakr9agrsYvF48JF40va9aqw4DZw4fJr97XrZruwsrA3y8Zry7 W3yxGF4ayrnrXjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7xRMeHqJUUUUU== X-Originating-IP: [36.4.209.174] X-CM-SenderInfo: 5vhq20jurqiii6rwjhhfrp/xtbBdBTsq1gi4+vLdQAAsr X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,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?1754104643093830314?= X-GMAIL-MSGID: =?utf-8?q?1754104643093830314?= |
Series |
[v3] serial: linflexuart: remove redundant uart type PORT_LINFLEXUART
|
|
Commit Message
Lizhe
Jan. 4, 2023, 3 p.m. UTC
in linflex_config_port() the member variable type will be assigned again. see linflex_connfig_port() Signed-off-by: lizhe <sensor1010@163.com> Acked-by: Jiri Slaby <jslaby@suse.com> Acked-by: Ilpo Järvinen<ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/all/20230103170948.3777-1-sensor1010@163.com/ --- drivers/tty/serial/fsl_linflexuart.c | 1 - 1 file changed, 1 deletion(-)
Comments
On Wed, 4 Jan 2023, lizhe wrote: > in linflex_config_port() the member variable type will be > assigned again. see linflex_connfig_port() > > Signed-off-by: lizhe <sensor1010@163.com> > Acked-by: Jiri Slaby <jslaby@suse.com> > Acked-by: Ilpo Järvinen<ilpo.jarvinen@linux.intel.com> Eh, you're not supposed to invent these Acked-by tags yourself. Don't add any tags besides your own unless somebody explicitly gives them to you in a reply! And the subject was supposed to be (as per Jiri's recommendation): serial: linflexuart: remove redundant uart type assignment You also didn't include the history of what was changed in v3. -- i.
diff --git a/drivers/tty/serial/fsl_linflexuart.c b/drivers/tty/serial/fsl_linflexuart.c index 6fc21b6684e6..34400cc6ac7f 100644 --- a/drivers/tty/serial/fsl_linflexuart.c +++ b/drivers/tty/serial/fsl_linflexuart.c @@ -837,7 +837,6 @@ static int linflex_probe(struct platform_device *pdev) return PTR_ERR(sport->membase); sport->dev = &pdev->dev; - sport->type = PORT_LINFLEXUART; sport->iotype = UPIO_MEM; sport->irq = platform_get_irq(pdev, 0); sport->ops = &linflex_pops;