Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp261637ybl; Thu, 15 Aug 2019 16:56:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqw/ZF39jqbrtj5XYg7OzkdvaqxoBjfRDFX4nVFcxbMig3U5PriHWiShkNvNGPx54KlFTc5c X-Received: by 2002:a62:3543:: with SMTP id c64mr7775132pfa.242.1565913376891; Thu, 15 Aug 2019 16:56:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565913376; cv=none; d=google.com; s=arc-20160816; b=eSdzgiIyN+l0WnltWT+aoezfgNLBdOgtHk7sLJwmdyBNRFwjvkNLLPVgZeDY9fJQwp uUmJ6blOmQBNKvsIngaULXe98OYkU0cuFhd8p6zys9e4WYKTf4yXbFPYeLq0MWl0dUGM Cx6EOjWwRvcdXVXk56AkFBXjJdbHCfir1LDHGRMlQfvr/B7dUuw8Vm0bbp547pQUUuHC AXbZmTiSsCSFFTPQ0Rqtgeb9qnYU/ks9JNS51gP0MNYs6cDgCIYfo3aNamHW4jhQolrx YmEzckFaIPvPC5JXFOAEQJfIgWEX983LxYExQ9YsbS5Z6+OAPYHAGZtE7I7G1hxsuJRo jTnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=FHzn0YAhkzkDUdc/IdDANTSNQr5IznYphFQTCaPi3SI=; b=Vk9A8h8FyPnKRNr6wfhZ+Y/VZWb2jIMW8FlwS0dewNo1u0v0yPYvcTbK61UlQASsXC WHmnNaX7YfT2FIBOMEIYZMMTOOqmh13W2MJR1aiazHqnlvTBXOCmnt7hkZRTpjWUC3t0 FCKKwXym4DXYSySA+uomA8EcVBlpPInFczoqI+dVupE8HQlHob4yvVtq/jSpN+KfHtD/ 7v+JleCujUswxUGjErGNV91sFqIc/Q89QtOOrifl7sYxHGxhcT2su83rT0JuwSoISTAo EZtmsRjn2Zwm/XJVNCqyUt4M+HDRw/eIe0CG4XTWFFVe5UXKRaTzHMR54eLGHkMPcC3F jx9Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v6si2873587plp.4.2019.08.15.16.56.01; Thu, 15 Aug 2019 16:56:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387505AbfHOXRk (ORCPT + 99 others); Thu, 15 Aug 2019 19:17:40 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:36585 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731640AbfHOXRk (ORCPT ); Thu, 15 Aug 2019 19:17:40 -0400 Received: by mail-ot1-f68.google.com with SMTP id k18so8054584otr.3 for ; Thu, 15 Aug 2019 16:17:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FHzn0YAhkzkDUdc/IdDANTSNQr5IznYphFQTCaPi3SI=; b=gHwzBh6YljIbZ39cEeo616RlX4XgbkRV18HamXeTK0Eq6lXnAT46eMotywJzs94Pkq PjOrKdTnyFYnJEzi/uVx1QYLRZdIhRCaT/nrZ5Y5G1dYGMkB3PGWA8rFjN9okE4eF57E KJFs8Ayv2VvIVeuxuQU4WcLqmLyvxnctw/6/S8zi7JUjCsB8wXFqzHAxY7HsdAG+aOEe JFbSTbK3WChxwi0jlTACvPU+NYQIxg50tykhrVLkRZfF5hx83RPrQr2ENaP6ToNI+hRp 2ISd09mRNFBQgJtXhQj3p6hLzM/lzmnxboP11oCtz/RQkYZCCvZkt/IUOt/fEA9rZsLu AQeA== X-Gm-Message-State: APjAAAVkjyyB3S7ABWUN20ZH6ayuji/rBjIVNXL8xGA1eTXz74sEx7aQ eczzGaClihmZ01SIotEwLifv3xMfc/c= X-Received: by 2002:a05:6830:13d9:: with SMTP id e25mr547439otq.197.1565911059162; Thu, 15 Aug 2019 16:17:39 -0700 (PDT) Received: from mail-oi1-f181.google.com (mail-oi1-f181.google.com. [209.85.167.181]) by smtp.gmail.com with ESMTPSA id n109sm1567594ota.36.2019.08.15.16.17.38 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Aug 2019 16:17:38 -0700 (PDT) Received: by mail-oi1-f181.google.com with SMTP id y8so3482453oih.10 for ; Thu, 15 Aug 2019 16:17:38 -0700 (PDT) X-Received: by 2002:aca:1a0e:: with SMTP id a14mr3062547oia.51.1565911058646; Thu, 15 Aug 2019 16:17:38 -0700 (PDT) MIME-Version: 1.0 References: <1562165800-30721-1-git-send-email-ioana.ciornei@nxp.com> <1562165800-30721-3-git-send-email-ioana.ciornei@nxp.com> In-Reply-To: <1562165800-30721-3-git-send-email-ioana.ciornei@nxp.com> From: Li Yang Date: Thu, 15 Aug 2019 18:17:27 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/3] soc: fsl: dpio: remove explicit device_link_remove To: Ioana Ciornei Cc: Laurentiu Tudor , Roy Pledge , lkml Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 3, 2019 at 9:58 AM Ioana Ciornei wrote: > > Starting with commit 72175d4ea4c4 ("driver core: Make driver core > own stateful device links") stateful device links are owned by the > driver core and should not be explicitly removed on device unbind. > Delete all device_link_remove appearances from the dpio driver. > > Signed-off-by: Ioana Ciornei Applied for next. Thanks. > --- > drivers/soc/fsl/dpio/dpio-service.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/soc/fsl/dpio/dpio-service.c b/drivers/soc/fsl/dpio/dpio-service.c > index b9539ef2c3cd..518a8e081b49 100644 > --- a/drivers/soc/fsl/dpio/dpio-service.c > +++ b/drivers/soc/fsl/dpio/dpio-service.c > @@ -305,8 +305,6 @@ void dpaa2_io_service_deregister(struct dpaa2_io *service, > list_del(&ctx->node); > spin_unlock_irqrestore(&d->lock_notifications, irqflags); > > - if (dev) > - device_link_remove(dev, d->dev); > } > EXPORT_SYMBOL_GPL(dpaa2_io_service_deregister); > > -- > 1.9.1 >