Message ID | 20230103110255.2699-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 p1csp4553190wrt; Tue, 3 Jan 2023 03:06:07 -0800 (PST) X-Google-Smtp-Source: AMrXdXvWTCSqop5mDNIuZcF+NnXkhXBkxBiaLU0pw1m6SkWqVV5SnVezM068ri1lZnYnjdMKbDHi X-Received: by 2002:a05:6a20:6709:b0:af:aa38:12e0 with SMTP id q9-20020a056a20670900b000afaa3812e0mr45318549pzh.34.1672743967033; Tue, 03 Jan 2023 03:06:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672743967; cv=none; d=google.com; s=arc-20160816; b=Y4ytXC3k+npVJIXrigHV56Wy6m8/3W7uWH3TNoBR6h4c7LVgwu0GcQ5PWhf3ysHr0m j3FgDJBC9BfUnSOrf3Ketw06VOHLgbqrL7zYJksrv0241Fy2Hs/zyNYrlMZPuJEeZKOJ odnO3EVE3sBPC3fcvNAmGj+r8vPOUqHBiPNWZ/0v4YVIHv9QGOF8ijNbH+lZyqVysFH3 mGpw3fH5OzmVdW/0tZJQHwIkQU2Z52NqdNiSaRTJPjyP7IFkXsFmybKxdXXUbdu8Y5kJ dqnZCUskiZZgyvT9Od5pY4K8GwHUbOzUj7724FmvRr1T/8ygbOlt0LN2IjrIkNift7tl delQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=GHdossT2byz3FqStEtqVa55bg+jCObJwbTHYvOwN8s8=; b=0Sl8aHmOjocKi2PtwY0LqzEUTTp08zf9TBCFzWEOgCZbYGZo9o0yWhPd7Rcvh3ZQ2c HAuD3vAUivPRu/8yV5dI4B3fM2kiKgum7+ur5LY5djuOUucXJCwAHpQobIZ20+Mcaro1 NLfbW3XLCtYkuxxoxiE1P9LiVVKUGFZBt+O1mxa4al7TfflGzLipRCLUku1S6CcoSo2A NRq9P0WxodGa64tmsAtxhveyVA258iRx/0rLsDkuXKCkuBklYskG2d6i8w/+b7bDHOgE DHX2UHBRvq226+F7qJqrcMKf0d5EW36EGCS/lvYbTpOR+fkWVPoJTCv7NC6hLx6BOy7B DQrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=DGV4X3Bt; 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 n8-20020a63e048000000b0047caad3c74asi32456621pgj.161.2023.01.03.03.05.53; Tue, 03 Jan 2023 03:06:07 -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=DGV4X3Bt; 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 S237161AbjACLE1 (ORCPT <rfc822;tmhikaru@gmail.com> + 99 others); Tue, 3 Jan 2023 06:04:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233358AbjACLEG (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 3 Jan 2023 06:04:06 -0500 Received: from m12.mail.163.com (m12.mail.163.com [220.181.12.198]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 82BD010D9 for <linux-kernel@vger.kernel.org>; Tue, 3 Jan 2023 03:04:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=GHdossT2byz3FqStEt qVa55bg+jCObJwbTHYvOwN8s8=; b=DGV4X3BtLm/3TLos2Wj+DmKVH25CHJQjni nCc+eqa5AEZqduKjZnUCCL8+zHlEaf3umoq1KTTww92kDotIC3Mby58F8l5mrf8k m703AbpY9zXdFBHI5hMZi4hE9WUtR54BW2yrjCX3/raY/zhaixxywGXyM9MrPuF/ JzIGuEk5U= Received: from localhost.localdomain (unknown [36.4.209.174]) by zwqz-smtp-mta-g0-0 (Coremail) with SMTP id _____wBX5gFjC7Rji6FaAA--.47821S4; Tue, 03 Jan 2023 19:03:39 +0800 (CST) From: lizhe <sensor1010@163.com> To: gregkh@linuxfoundation.org, jirislaby@kernel.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, lizhe <sensor1010@163.com> Subject: [PATCH v1] drivers/fsl_linflexuart.c : remove redundant uart type Date: Tue, 3 Jan 2023 03:02:55 -0800 Message-Id: <20230103110255.2699-1-sensor1010@163.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID: _____wBX5gFjC7Rji6FaAA--.47821S4 X-Coremail-Antispam: 1Uf129KBjvdXoWruFykZryrZr4xCr15tw1rtFb_yoW3WFb_Cw 1DC34xWr109FyayFnrXFWYkrZagrs5ZF48ZF10vasaqw4DZw4rXryIqrZrursxJ3yUXr9r G397Wr12yrsrXjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7xRM5l8UUUUUU== X-Originating-IP: [36.4.209.174] X-CM-SenderInfo: 5vhq20jurqiii6rwjhhfrp/xtbBXhLrq1aEAVEOTAAAsM 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?1753999178113700263?= X-GMAIL-MSGID: =?utf-8?q?1753999178113700263?= |
Series |
[v1] drivers/fsl_linflexuart.c : remove redundant uart type
|
|
Commit Message
Lizhe
Jan. 3, 2023, 11:02 a.m. UTC
in linflex_config_port() the member variable will be
assigned again . see linflex_config_port()
Signed-off-by: lizhe <sensor1010@163.com>
---
drivers/tty/serial/fsl_linflexuart.c | 1 -
1 file changed, 1 deletion(-)
Comments
On 03. 01. 23, 12:02, lizhe wrote: > in linflex_config_port() the member variable will be > assigned again . see linflex_config_port() Fine, but can you make the subject and the commit message a little bit saner? I.e. no tabs, no spaces before semicolons and colons. The subject should be something like "serial: linflexuart: remove redundant uart type _assignment_" and so on. > Signed-off-by: lizhe <sensor1010@163.com> Is this your legal name? > --- > drivers/tty/serial/fsl_linflexuart.c | 1 - > 1 file changed, 1 deletion(-) > > 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;
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;