From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT, USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE502C35670 for ; Sat, 22 Feb 2020 01:41:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 91E0F20722 for ; Sat, 22 Feb 2020 01:41:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="Q+ZW5zte" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728008AbgBVBlA (ORCPT ); Fri, 21 Feb 2020 20:41:00 -0500 Received: from mail-pg1-f201.google.com ([209.85.215.201]:47851 "EHLO mail-pg1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728003AbgBVBk7 (ORCPT ); Fri, 21 Feb 2020 20:40:59 -0500 Received: by mail-pg1-f201.google.com with SMTP id l15so2114394pgk.14 for ; Fri, 21 Feb 2020 17:40:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=KJExBCe79TvbDWBtLAIAPlDU0zRERHckO2kWsYTv978=; b=Q+ZW5zteZDu1FNYEMvKTjgWjf9TVSuk16yWcCy2JweJvkq+lTHDxx786967t+KpMC4 WrYcOnyyCjG511w+00j/x8XY7e26b2TsnE4kgWSZWOu2mqXMNa4nKltDIZEpyts40fte lFqRTRmjS84KOl/C+eXYSKbGlWvz3Gd//g5GAHgn0aO4ANiawlYoLTBfCMF4SiV0na5K le4v19xzzHsWvOo6HvWOoFfzUVYAS9DL8Q/vlnOOT1FwrUxBu+HkYHMl42BYYcyqchtQ ViLRU0kcaRQfGqeLQ4KYUhyqKl7rdiLM2cX6tOiClI1uGnFefdSz/2HsMYabeyxF/Who Bv0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=KJExBCe79TvbDWBtLAIAPlDU0zRERHckO2kWsYTv978=; b=uEKl/OtBuXeRNLTvtJEhOCsGVTOf965vFvzIGJiFqELzqbTfwFL8y4fYKbc5HqDglA QdKyyqsq3sEH2XAHsm7bT0oR7mnPI1RNvGrtaIzGVWeXvaPrKX95r6Trw3ZldrEWg7O2 76efGCvkSWH/O15iXFGDFHBraNEgsnG9snVdmcu8+I0ViaQFaBERS4ctUOENhWSdS+J+ 8FU2rD1xehuC1WICYvmS+js3FTlRe0ioBcBIWym4ilZZvaQTIQww35M1A5aJo1eYtIZI EJtUA/E/ZdDPz5NKkM/1HMPZacVNbUggSTf43o1EhAQ3HcYR4O1W+CPtg6U2TrBwgIBH cOwg== X-Gm-Message-State: APjAAAUOBGwaBMrgPOoy9Kg96wOClBDEmQlSl9g/BzrcKDFgLURf5p6z JRFF2t8nA57azs2JEw1weEtnBIuseaSBFPc= X-Google-Smtp-Source: APXvYqzeslKuPNzcFs1IbK32oZCNMmy4nVP9Y84HztkmAh6Tdl4LyaoiuujEisOnVrevdJg+wGWCL5JtzXjW6PI= X-Received: by 2002:a63:4804:: with SMTP id v4mr40448137pga.373.1582335658427; Fri, 21 Feb 2020 17:40:58 -0800 (PST) Date: Fri, 21 Feb 2020 17:40:38 -0800 In-Reply-To: <20200222014038.180923-1-saravanak@google.com> Message-Id: <20200222014038.180923-6-saravanak@google.com> Mime-Version: 1.0 References: <20200222014038.180923-1-saravanak@google.com> X-Mailer: git-send-email 2.25.0.265.gbab2e86ba0-goog Subject: [PATCH v1 5/5] of: property: Delete of_devlink kernel commandline option From: Saravana Kannan To: Jonathan Corbet , Greg Kroah-Hartman , "Rafael J. Wysocki" , Ard Biesheuvel , Rob Herring , Frank Rowand , Len Brown Cc: Saravana Kannan , kernel-team@android.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, devicetree@vger.kernel.org, linux-acpi@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-efi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-efi@vger.kernel.org With the addition of fw_devlink kernel commandline option, of_devlink is redundant and not useful anymore. So, delete it. Signed-off-by: Saravana Kannan --- Documentation/admin-guide/kernel-parameters.txt | 6 ------ drivers/of/property.c | 6 ------ 2 files changed, 12 deletions(-) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 29985152b66d..6692b2aa6140 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -3299,12 +3299,6 @@ This can be set from sysctl after boot. See Documentation/admin-guide/sysctl/vm.rst for details. - of_devlink [OF, KNL] Create device links between consumer and - supplier devices by scanning the devictree to infer the - consumer/supplier relationships. A consumer device - will not be probed until all the supplier devices have - probed successfully. - ohci1394_dma=early [HW] enable debugging via the ohci1394 driver. See Documentation/debugging-via-ohci1394.txt for more info. diff --git a/drivers/of/property.c b/drivers/of/property.c index 15fc9315f1a7..f104f15b57fb 100644 --- a/drivers/of/property.c +++ b/drivers/of/property.c @@ -1299,15 +1299,9 @@ static int of_link_to_suppliers(struct device *dev, return ret; } -static bool of_devlink; -core_param(of_devlink, of_devlink, bool, 0); - static int of_fwnode_add_links(const struct fwnode_handle *fwnode, struct device *dev) { - if (!of_devlink) - return 0; - if (unlikely(!is_of_node(fwnode))) return 0; -- 2.25.0.265.gbab2e86ba0-goog