From patchwork Thu Feb 11 22:25:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 381464 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=-12.0 required=3.0 tests=BAYES_00,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 6B625C433DB for ; Thu, 11 Feb 2021 22:26:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3B08B64E38 for ; Thu, 11 Feb 2021 22:26:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229683AbhBKW0K (ORCPT ); Thu, 11 Feb 2021 17:26:10 -0500 Received: from mail-ot1-f47.google.com ([209.85.210.47]:37915 "EHLO mail-ot1-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229469AbhBKW0K (ORCPT ); Thu, 11 Feb 2021 17:26:10 -0500 Received: by mail-ot1-f47.google.com with SMTP id e4so6697142ote.5; Thu, 11 Feb 2021 14:25:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NMJ7yLd9O23CBO6jbidyP4gLEKA1R1vMVgKZt27Rrho=; b=LnWcRmismu4YPPd4nfoslW4u23YucqrdHJUotExCT92TrOMjo6E8aAQh4/RKfBXsLy /47PZ336+PytidRHJrBj2wvC+OF8Sm+VYec8OZ+oMVxnLAqj175X9Xe+9vPkGxPJKta+ aMxgGossB9rLZbY8kbnJauYXtiAhMI4HWqpCyz0c2H87lll/T3aPukGo2pH1Y5+6SkZA cUF8yOn/ee558FDBASOFGkDINTCv5d5FSgo8vQj7Ww+aXidVyK7PEWK/9p8A3k0OOO2R xlznzws2LUU292BISZIbFsQWKPG2DySW4Z99pY0vRDWBGNIFO9Rz41m28Z0rNFG+Up68 odTQ== X-Gm-Message-State: AOAM5323IC5SBQ8VkgI4p9nikmRS9pbnEV08QKG5wtuJQA8fXY+bEsiz NhnugMN69PjlzWhHjp1pEg== X-Google-Smtp-Source: ABdhPJzRltYMbqkEA5TZcjaBpmfP3dX2bR/krAIyVqt0+CVFo//SIzQQtuDqD4ScQJUbSJBsjy5raQ== X-Received: by 2002:a9d:1d04:: with SMTP id m4mr151368otm.354.1613082329194; Thu, 11 Feb 2021 14:25:29 -0800 (PST) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id j25sm978030otn.55.2021.02.11.14.25.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Feb 2021 14:25:28 -0800 (PST) From: Rob Herring To: Michael Ellerman , Greg Kroah-Hartman , "David S. Miller" , Jakub Kicinski , Frank Rowand , devicetree@vger.kernel.org Cc: Paul Mackerras , "Rafael J. Wysocki" , Patrice Chotard , Felipe Balbi , Julia Lawall , Gilles Muller , Nicolas Palix , Michal Marek , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, cocci@systeme.lip6.fr, Benjamin Herrenschmidt Subject: [PATCH 0/2] of: of_device.h cleanups Date: Thu, 11 Feb 2021 16:25:24 -0600 Message-Id: <20210211222526.1318236-1-robh@kernel.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org This is a couple of cleanups for of_device.h. They fell out from my attempt at decoupling of_device.h and of_platform.h which is a mess and I haven't finished, but there's no reason to wait on these. Rob Rob Herring (2): of: Remove of_dev_{get,put}() driver core: platform: Drop of_device_node_put() wrapper arch/powerpc/platforms/pseries/ibmebus.c | 4 ++-- drivers/base/platform.c | 2 +- drivers/net/ethernet/ibm/emac/core.c | 15 ++++++++------- drivers/of/device.c | 21 --------------------- drivers/of/platform.c | 4 ++-- drivers/of/unittest.c | 2 +- drivers/usb/dwc3/dwc3-st.c | 2 +- include/linux/of_device.h | 10 ---------- scripts/coccinelle/free/put_device.cocci | 1 - 9 files changed, 15 insertions(+), 46 deletions(-)