Message ID | 20230317071538.29366-1-lukas.bulwahn@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp197742wrt; Fri, 17 Mar 2023 00:35:58 -0700 (PDT) X-Google-Smtp-Source: AK7set/6giO1sIbWvpM4RGZm9oGHS9rhXan9uoqdoEzL91m2c9fSo0Itcxs7qd3yB3ipdPmQn3sk X-Received: by 2002:a05:6a21:32a2:b0:cc:32a8:69ad with SMTP id yt34-20020a056a2132a200b000cc32a869admr7728948pzb.1.1679038557933; Fri, 17 Mar 2023 00:35:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679038557; cv=none; d=google.com; s=arc-20160816; b=IPlob/dmA8IB32A5ittsgsMVYQHSQbYSpT4eficvPDBtFKISGDKB6AnFT3ZzriqmjB KxOZ0Ey7xMhlz1x8HXSE9bePQpoXfzTpYkW/oMWUlvMTt36myFl6YKkwnx8ZgoDzGNh3 2z2WA8L1nVTx6crmGE3ow6+OpC5ISTlBpOKIvasuDB3Y9E7zcltl1nklNGuSNSCfuIUE xTZS4RgkOidsMvxKts4SWOAT8MIPvsIVSYu3u7bZNZd89m/nWlB2Nlx9k/q9dc/9i7zk dKy1rl0wK/h1CRGei5H/Ln12mq8f+YTlFtEwjVmszjlCe3Ny0LaAeegmKaIEjm+9XRZn JhXQ== 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=Nq9nxA1qio6sHiPpysjGP5/YY8vR6Z5D1TNGlUNP8IU=; b=nLQiPInHx+Y7LIA7LqopIK4r7tubyUX3V8Ee5WUrBD/jaPK4DGvTITD5zizPr4heRz p5XDABR3sFYT+aB2uAKOHKk7VBc9Ch6f037nDRPfy9bQ4dYdeMwF0tD5D3QdXvpR6Y/x gH3XD2B280dmct9OV052BGBey8xFSNg9QG4cijTI5l8u1L8WukLGYdcEG9yU4RlURVov fOUWLj73rS5QttnbccRbqVvvy1KQpnwFoJHXmK0Hcn90TDkhAZcIAtguQbMUFKB9vx1u BaD0livKlDGKG3/0ONKpZZchvWN1YgyeEGXk3m3iDvBYAVC6a98LiGEP7fw7S2PV68Q7 OKzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=o6syNwWO; 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 f10-20020a63de0a000000b005030925d300si1625535pgg.179.2023.03.17.00.35.43; Fri, 17 Mar 2023 00:35:57 -0700 (PDT) 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=o6syNwWO; 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 S230132AbjCQHPo (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Fri, 17 Mar 2023 03:15:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229473AbjCQHPn (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 17 Mar 2023 03:15:43 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FB64B479; Fri, 17 Mar 2023 00:15:42 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id ek18so16755777edb.6; Fri, 17 Mar 2023 00:15:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679037340; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Nq9nxA1qio6sHiPpysjGP5/YY8vR6Z5D1TNGlUNP8IU=; b=o6syNwWOXuj89QalIA8NDAwlkjXJyLJJY8bM5ljdEu6ARdegjLasqz1alEkl1U4Nr7 4mctbKGozjiQQuVw7Q/JjttDccEw45SGLqoWuiKZFz4qbY9O1B6AA+7KRXy2T2a/lk96 F3wJHX3YLJOc508q1WI5UgOVZ1BqOnSbscZqdT/4YYhhqrWy8hFNh7v/rCV0ItIqtXUF 8ABhvyL0+fG7uqJ2toLms9cUgNbauVQtJ6cfCDTjP5qsUCU/SRYPJ7fvMEw9wWrQXxf6 o8mnRbt8/0MdguEB86hiuMjlBYC8YDNOfHiIHwL+IQwRVcGa2RQi4lgDnmxLwOUju+tg 01rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679037340; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Nq9nxA1qio6sHiPpysjGP5/YY8vR6Z5D1TNGlUNP8IU=; b=DjbaVNjCo4kN3nursecXkcHBB/l2n0AfrCsTw6ByKprXzd5CyAILzGhTw8Qx5Vfh96 9/sUvIGNxPelH47JtjOKSx1TQ+lhVd57P5O1EGWFwBRCayB2bMJ3zHLBtPGPSG2JYbnC t92Xc5G28cw2piDjMyjIZWadnU0mkn3AiPMGpV3ado478irqMQohU0/8YbWVwveGhkYD 2zHLFhqcQ+t/yKk/BL1uu3CM4CfwPcDLtCpL6SnHrZNXt1svSPfdGOy/p0SuIiXYBG9V /JShQNwyjcOFyQ/O7UdIyQC4lqsOMJQQS3PQL6yLl0xlua3OL99U5hjZ9uU9TLGOiWcP G85A== X-Gm-Message-State: AO0yUKXhTht696gOjOWogFEMmohOMJoJu0nA5kVGJSGHYCUmtFjL29TW pL+SBsad+puYx+amWU/8Ybc= X-Received: by 2002:a17:906:3714:b0:92b:4f8e:dde1 with SMTP id d20-20020a170906371400b0092b4f8edde1mr12375573ejc.20.1679037340179; Fri, 17 Mar 2023 00:15:40 -0700 (PDT) Received: from felia.fritz.box ([2a02:810d:2a40:1104:d59c:b746:d2ef:469]) by smtp.gmail.com with ESMTPSA id s10-20020a1709060d6a00b008d044ede804sm595192ejh.163.2023.03.17.00.15.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Mar 2023 00:15:40 -0700 (PDT) From: Lukas Bulwahn <lukas.bulwahn@gmail.com> To: Arnd Bergmann <arnd@arndb.de>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Jiri Slaby <jirislaby@kernel.org>, linux-serial@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Bulwahn <lukas.bulwahn@gmail.com> Subject: [PATCH] tty: serial: remove obsolete config SERIAL_SAMSUNG_UARTS_4 Date: Fri, 17 Mar 2023 08:15:38 +0100 Message-Id: <20230317071538.29366-1-lukas.bulwahn@gmail.com> X-Mailer: git-send-email 2.17.1 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?1760599535083325657?= X-GMAIL-MSGID: =?utf-8?q?1760599535083325657?= |
Series |
tty: serial: remove obsolete config SERIAL_SAMSUNG_UARTS_4
|
|
Commit Message
Lukas Bulwahn
March 17, 2023, 7:15 a.m. UTC
Commit 1ea35b355722 ("ARM: s3c: remove s3c24xx specific hacks"), allows
simplifying the whole config logic for SERIAL_SAMSUNG_UARTS, and did this
config simplification. However, it misses that SERIAL_SAMSUNG_UARTS_4's
effect was just to control SERIAL_SAMSUNG_UARTS, and with the commit's
change, the config SERIAL_SAMSUNG_UARTS_4 has no remaining effect and can
be deleted.
Remove this obsolete config SERIAL_SAMSUNG_UARTS_4.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
Arnd, please ack.
Greg, please pick this minor clean-up patch.
drivers/tty/serial/Kconfig | 7 -------
1 file changed, 7 deletions(-)
Comments
On Fri, Mar 17, 2023, at 08:15, Lukas Bulwahn wrote: > Commit 1ea35b355722 ("ARM: s3c: remove s3c24xx specific hacks"), allows > simplifying the whole config logic for SERIAL_SAMSUNG_UARTS, and did this > config simplification. However, it misses that SERIAL_SAMSUNG_UARTS_4's > effect was just to control SERIAL_SAMSUNG_UARTS, and with the commit's > change, the config SERIAL_SAMSUNG_UARTS_4 has no remaining effect and can > be deleted. > > Remove this obsolete config SERIAL_SAMSUNG_UARTS_4. > > Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> Nice find! I tried to carefully check that all Kconfig options that were no longer selectable got removed recursively, along with the code that they control, but I missed this one as I did not search the other way. Acked-by: Arnd Bergmann <arnd@arndb.de>
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 0072892ca7fc..39a0078f54f6 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -248,13 +248,6 @@ config SERIAL_SAMSUNG Choose Y/M here only if you build for such SoC. -config SERIAL_SAMSUNG_UARTS_4 - bool - depends on SERIAL_SAMSUNG - default y - help - Internal node for the common case of 4 Samsung compatible UARTs - config SERIAL_SAMSUNG_UARTS int depends on SERIAL_SAMSUNG