Message ID | 20230717225610.3214029-1-robh@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp1398184vqt; Mon, 17 Jul 2023 16:15:44 -0700 (PDT) X-Google-Smtp-Source: APBJJlFA9mJVg/3dJRKLVDHj6ousUb+5OTcSanwJiT3FoWcXDD47o38J5PUmvgstyVcys1yq4Ur0 X-Received: by 2002:a17:907:3a83:b0:962:46d7:c8fc with SMTP id fh3-20020a1709073a8300b0096246d7c8fcmr12691907ejc.21.1689635744674; Mon, 17 Jul 2023 16:15:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689635744; cv=none; d=google.com; s=arc-20160816; b=B05F5GoU9+ixKc62Fn7MUI9YhdpD+ehyTX4G+sFbFNrgFRXK+nHU5abYNwmWpT2p5y wic5pBE4w+OGXHjrZwW8d+cIbVXjSYrjY5Ll9F8AwxO6q+G9y7wtau5KoXLrTY9J5HS0 4ZsUHfCaKT4qpxPx8/dMCknDsQo9FB3pTadm//4VDncY5OU53hKRPw+BK/lMZrjwo7cD rV0NmVPSrbf/rJ+YNXoM0AboAOcidSjcp+yX1y4mSSKptgGcMHJKFvpG0i2mDwHpLpFO YgruX3SJbzUTbuX+uGDoaXNXTkiRroafYmmDVJU9E+5ucfX+x5gx/MmK+ai/8LaYxGZa ENEw== 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=bTZLjUdVG9A7vQApjFNtzo08XCCxmSWKh8YL2zTIZrg=; fh=kLlYL8/yBjuN0VVOuGahP1ptgsvhLWgQbVJet3nwoB4=; b=KMkQYnI5lDZYK6BTtf7WFFeiQwYwohKCGSuO30nBrgepaN7Hgw+vAR9QsmprQWWbH4 ujKxvLwPO0ahfSvLp6hWgpOPCuOZ3Fvn7CZAg4JofDqPoxiVNL6jjA9/y/qrXExzfaYD IbtdaSd/Vvrr2higrN7ikFkL1ToL7hknSiOh4AKh3QSU9zgNBcatezsAUtdR+9NAjW2V AkgHIOPDo6nEcxR3oaHgZvGg+4v2E1OCen4h2K8li/2NWC0T3tRmRKo2f1IQDGw1jHnx mHQXRWHdLEpc4waH5n6RQrPvNj/lEqwf1PJrUiakN5jyIjFuPFG2LfeQVwxelebl/4eW ePfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="hc/ILFfh"; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a14-20020a1709065f8e00b0099283d7c2f6si325452eju.31.2023.07.17.16.15.20; Mon, 17 Jul 2023 16:15:44 -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=@kernel.org header.s=k20201202 header.b="hc/ILFfh"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230039AbjGQXHZ (ORCPT <rfc822;hadasmailinglist@gmail.com> + 99 others); Mon, 17 Jul 2023 19:07:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229714AbjGQXHX (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 17 Jul 2023 19:07:23 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9035C191 for <linux-kernel@vger.kernel.org>; Mon, 17 Jul 2023 16:06:40 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DADCB61305 for <linux-kernel@vger.kernel.org>; Mon, 17 Jul 2023 23:00:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DDD47C433C7; Mon, 17 Jul 2023 23:00:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689634828; bh=98oD7vY/oHZpJ/7V3Rd83QDhlLAe4d9cuz/9n2FHVmA=; h=From:To:Cc:Subject:Date:From; b=hc/ILFfhTQKQJ6Z6auh2y18dwMoVvOHwrYqgIPwd4Tq3dpZi7Eljw7Ap9K7D8ZWsU jEM5IWIPt/cRtAE4RdbKe066lIG2I9POCHeut9eDSLqdCks14h+Fsyhr7vVImq5bDB UjyuB4jftlnmADgDjsW0MmVg8YmKiia2XjLxYmhDdkf0oI2EKXMgCvCU4ulRt7BruR 5gB7dPybBbHpKc9zsKRvzkcoKOc+NvlTdxsjP4FmAq6opGQYB4DNjToA3XHdApLWu+ 3btSiH8yHvqanY1BUNAcA8QPe9U1ctc54vBBV1/XUtfGnDtbwc+/m9nTU/c73AfDRm I61hJmnnhqgeg== Received: (nullmailer pid 3214097 invoked by uid 1000); Mon, 17 Jul 2023 22:56:12 -0000 From: Rob Herring <robh@kernel.org> To: Nishanth Menon <nm@ti.com>, Santosh Shilimkar <ssantosh@kernel.org>, Russell King <linux@armlinux.org.uk> Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: keystone: Drop unused includes Date: Mon, 17 Jul 2023 16:56:09 -0600 Message-Id: <20230717225610.3214029-1-robh@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771711395293484120 X-GMAIL-MSGID: 1771711490246648848 |
Series |
ARM: keystone: Drop unused includes
|
|
Commit Message
Rob Herring
July 17, 2023, 10:56 p.m. UTC
Several includes are not needed, so drop them.
of_platform.h is not needed, but it implicitly includes platform_device.h
(for now) which is needed.
Signed-off-by: Rob Herring <robh@kernel.org>
---
arch/arm/mach-keystone/keystone.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
Comments
Hi Rob Herring, On Mon, 17 Jul 2023 16:56:09 -0600, Rob Herring wrote: > Several includes are not needed, so drop them. > > of_platform.h is not needed, but it implicitly includes platform_device.h > (for now) which is needed. > > I have applied the following to branch ti-keystone-next on [1]. Thank you! [1/1] ARM: keystone: Drop unused includes commit: 630c191b3396c6aaccab1234f8834848a2c42e8a All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent up the chain during the next merge window (or sooner if it is a relevant bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. [1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
On Tue, Jul 25, 2023 at 6:35 AM Nishanth Menon <nm@ti.com> wrote: > > Hi Rob Herring, > > On Mon, 17 Jul 2023 16:56:09 -0600, Rob Herring wrote: > > Several includes are not needed, so drop them. > > > > of_platform.h is not needed, but it implicitly includes platform_device.h > > (for now) which is needed. > > > > > > I have applied the following to branch ti-keystone-next on [1]. > Thank you! > > [1/1] ARM: keystone: Drop unused includes > commit: 630c191b3396c6aaccab1234f8834848a2c42e8a Did you really? Doesn't look like this is in linux-next. Rob
On Tue, Aug 22, 2023 at 6:03 PM Nishanth Menon <nm@ti.com> wrote: > > On 17:28-20230822, Rob Herring wrote: > > On Tue, Jul 25, 2023 at 6:35 AM Nishanth Menon <nm@ti.com> wrote: > > > > > > Hi Rob Herring, > > > > > > On Mon, 17 Jul 2023 16:56:09 -0600, Rob Herring wrote: > > > > Several includes are not needed, so drop them. > > > > > > > > of_platform.h is not needed, but it implicitly includes platform_device.h > > > > (for now) which is needed. > > > > > > > > > > > > > > I have applied the following to branch ti-keystone-next on [1]. > > > Thank you! > > > > > > [1/1] ARM: keystone: Drop unused includes > > > commit: 630c191b3396c6aaccab1234f8834848a2c42e8a > > > > Did you really? Doesn't look like this is in linux-next. > > Seems to have been there for a while? > > https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git/log/?h=ti-keystone-next > > https://patchwork.kernel.org/project/linux-soc/patch/20230814160702.6l2fcujbx33eogap@junction/ > > $ git tag --contains 630c191b3396c6aaccab1234f8834848a2c42e8a > next-20230801 > next-20230802 > next-20230804 > next-20230807 > next-20230808 > next-20230809 > next-20230816 > next-20230817 > next-20230818 > next-20230821 > next-20230822 > ti-keystone-soc-for-v6.6 > > > Did I miss something? Sorry, I sent the davinci changes also with 'keystone' in the subject by mistake and confused myself... Rob
diff --git a/arch/arm/mach-keystone/keystone.c b/arch/arm/mach-keystone/keystone.c index 68039aad3014..e0ca26182e0b 100644 --- a/arch/arm/mach-keystone/keystone.c +++ b/arch/arm/mach-keystone/keystone.c @@ -7,12 +7,10 @@ * Santosh Shilimkar <santosh.shillimkar@ti.com> */ #include <linux/io.h> -#include <linux/of.h> #include <linux/dma-map-ops.h> #include <linux/init.h> -#include <linux/of_platform.h> -#include <linux/of_address.h> #include <linux/memblock.h> +#include <linux/platform_device.h> #include <asm/setup.h> #include <asm/mach/map.h>