Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp261091ybl; Thu, 15 Aug 2019 16:55:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqz2aooO+m/q3ZgVjZBPkPlcqdbVEI4amQQrePdrUhTX5QCvbtItK16M5e7/qEGrbPWOtqbT X-Received: by 2002:aa7:9609:: with SMTP id q9mr7672327pfg.232.1565913333434; Thu, 15 Aug 2019 16:55:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565913333; cv=none; d=google.com; s=arc-20160816; b=v9dQE7hvfNsbPhxvsRJORoWPN21WS4hzkeI9SXJKVofRfYFyjkCvsus/lapHJeg9gZ Yk3sg2juVkwQU29Vrsz5tBhleiAfAQWVA02mg1TGNLtSTEzJTqWuYTQYDy0UOk13drbZ g/lcNXcrxEJ57oN7KZBT9uq4mw8Q/IRuBuohkCcHmV5gAwwZs10GBOjKuS/tbVlhU90X BG2ZIhpTIMy7YKksSf39qSt5k7sMBgqTaXuPuboov4Xc1ty74kWvZxc/8YUIOm6rJVrr wwmRZgj3jKt7iRsLks08wEsDC/8qM9gZpi8I8PiSpr9fGn3RBxY//hjlln0Rcgb6kwtw tt0Q== 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=OiMfOR7Lnqn7tP3k80pw2nBJ03dVcn8MhawyWGtoGR0=; b=y1mmGPawXK/mxkvO2ECCXzE0uMKFYnpvz21dJNG+AVcDLH4KzlfZU4oC+5F04qXQtv y9V17wTiF5NLDOU0lUtUd5Axj2b7tCI12zHgTpL9yZ4xYpfZPnWNetxckrcU/T3+C2Zq 9muvWtpfQuZqnKJULptlqBxj71P7Mld4aab+oMKOzH5B+GgUCCKQhSzUpauk1xv5b4bW x75Qoq1sihtRquvA6pyLYF14CQvRkO+0+iC4JSKbNAL65Hu6di7G+pexODTCYxc94zvf u8N2RjOENXntN8XKt7GRdWM6+U+qCoyp3h5oK18kuCpVhyxlCsQHikdFDDmLPHYskFfj Beuw== 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 s16si2628173pgs.228.2019.08.15.16.55.17; Thu, 15 Aug 2019 16:55:33 -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 S2387639AbfHOXNU (ORCPT + 99 others); Thu, 15 Aug 2019 19:13:20 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:46213 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730386AbfHOXNU (ORCPT ); Thu, 15 Aug 2019 19:13:20 -0400 Received: by mail-oi1-f193.google.com with SMTP id t24so3454870oij.13 for ; Thu, 15 Aug 2019 16:13:19 -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=OiMfOR7Lnqn7tP3k80pw2nBJ03dVcn8MhawyWGtoGR0=; b=CQD9D12ZbV6mA9LndEr8ssWl4D6bogQmM3Xmm0xr4lLM5DTLYF18eseP9aka0akOVg 0Kaly4Iuy306TFWyULMN+EVb2tg3asoTJAF4s4E91qOnn34jjWf5LjplcCT8pKIkjRXs DhCHfisJfY4mozTivbZskJDIDPCSUuSchkzLmzEj14oShhqMw8KIW9PdezQxe6tBqOK7 p/iQaSKAuwB/JA8XxK5uagtQHOKJ3I7SdBFuaIsjhGyJJHog8fPcBYcOfVzRbv2PXiwY MOtQY7ccegoUBeqX/VurOElZBwWHVpX0ViJUK1opN1s2II4A9jzx8xk4fY2mFuZKEJA9 lWkA== X-Gm-Message-State: APjAAAXcH/9Wrs1KDHSsjGU3BjQG1B3WIvbvGqq4Q+BzkWt9Vv3yCexX JrqvS0MveeyfYa0+S5oFmc2HKecvabs= X-Received: by 2002:a05:6808:3d5:: with SMTP id o21mr2863712oie.108.1565910799376; Thu, 15 Aug 2019 16:13:19 -0700 (PDT) Received: from mail-oi1-f176.google.com (mail-oi1-f176.google.com. [209.85.167.176]) by smtp.gmail.com with ESMTPSA id n13sm1616803otf.51.2019.08.15.16.13.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Aug 2019 16:13:19 -0700 (PDT) Received: by mail-oi1-f176.google.com with SMTP id t24so3454848oij.13 for ; Thu, 15 Aug 2019 16:13:18 -0700 (PDT) X-Received: by 2002:aca:1a0e:: with SMTP id a14mr3052062oia.51.1565910798823; Thu, 15 Aug 2019 16:13:18 -0700 (PDT) MIME-Version: 1.0 References: <1562165800-30721-1-git-send-email-ioana.ciornei@nxp.com> <1562165800-30721-2-git-send-email-ioana.ciornei@nxp.com> In-Reply-To: <1562165800-30721-2-git-send-email-ioana.ciornei@nxp.com> From: Li Yang Date: Thu, 15 Aug 2019 18:13:07 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/3] bus: fsl-mc: remove explicit device_link_del 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_del appearances from the fsl-mc bus. > > Signed-off-by: Ioana Ciornei Hi Laurentiu, What do you think of this patches? I can take it through fsl/soc if you can ACK it. Regards, Leo > --- > drivers/bus/fsl-mc/fsl-mc-allocator.c | 1 - > drivers/bus/fsl-mc/mc-io.c | 1 - > 2 files changed, 2 deletions(-) > > diff --git a/drivers/bus/fsl-mc/fsl-mc-allocator.c b/drivers/bus/fsl-mc/fsl-mc-allocator.c > index 8ad77246f322..cc7bb900f524 100644 > --- a/drivers/bus/fsl-mc/fsl-mc-allocator.c > +++ b/drivers/bus/fsl-mc/fsl-mc-allocator.c > @@ -330,7 +330,6 @@ void fsl_mc_object_free(struct fsl_mc_device *mc_adev) > > fsl_mc_resource_free(resource); > > - device_link_del(mc_adev->consumer_link); > mc_adev->consumer_link = NULL; > } > EXPORT_SYMBOL_GPL(fsl_mc_object_free); > diff --git a/drivers/bus/fsl-mc/mc-io.c b/drivers/bus/fsl-mc/mc-io.c > index 3ae574a58cce..d9629fc13a15 100644 > --- a/drivers/bus/fsl-mc/mc-io.c > +++ b/drivers/bus/fsl-mc/mc-io.c > @@ -255,7 +255,6 @@ void fsl_mc_portal_free(struct fsl_mc_io *mc_io) > fsl_destroy_mc_io(mc_io); > fsl_mc_resource_free(resource); > > - device_link_del(dpmcp_dev->consumer_link); > dpmcp_dev->consumer_link = NULL; > } > EXPORT_SYMBOL_GPL(fsl_mc_portal_free); > -- > 1.9.1 >