From patchwork Fri Nov 27 17:52:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 11936995 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=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT 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 2C8EEC3E8C5 for ; Fri, 27 Nov 2020 17:56:16 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C69762224A for ; Fri, 27 Nov 2020 17:56:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="sXSnBdNw"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="IAd75o9U" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C69762224A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=rnjTnAmIqrFD8jutetT/OFkykkaNRmDYnr42nRa1tWY=; b=sXSnBdNweiHgmYckqGvFNCu5B y52k+YeP1Qi01JYuDCFlWuowYy17kJnmTnq9hRgbSUn3C/Cx/OGO1VJB1czy1qZ3HgP1nfz8piFki WyGbnvPk3N5/oAK3H62r7rEF0z7V+r0fZGgOdtkz4JoI3dRKbKYSppQeJbk6ZFBZmIykqT4eP4nw7 OhW9StQzHzfIx2bHio8fFCnVT2Rfq01zUsvOtpTM2du5wgIHicNQUYUom0THibvLIw4NbWU3l4bv9 IFrCIEdBpeXR21Xi5zgGhbRWIKgzsaZs6EbRQwtgyTezXeT4PCqxj6KiKpRuZxbt82hA5Aj2guJrF 7hbOcusGA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kihxA-0005E1-1M; Fri, 27 Nov 2020 17:54:40 +0000 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kihvg-0004dO-TL for linux-arm-kernel@lists.infradead.org; Fri, 27 Nov 2020 17:53:14 +0000 Received: by mail-pf1-x442.google.com with SMTP id e8so5194530pfh.2 for ; Fri, 27 Nov 2020 09:53:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mAY+TGRlEm3o5MNxNMBpluzt/7qnoQjRNsib7isq2qs=; b=IAd75o9Ux+6pS2aaLWCFpx6OGBGhz2I9diMGgOTccmmFWzvA6/Wn3Cfmz7ZWBItpTX eTV1Nt8kNuJ9P4rHjFzXRwfvI5jyXEgNAZDARDEOhvQ8hvkatB6IiSePme88ve9ToMyD ShqaI25JhiSXCAoBzyqqzlRfuFw7OJeG0ifeLLLJmC0cSzV/lZgKjFMwTK5tPhVbl4+d dWV1YAnLTBBToFuzSWkMWYT7/ga0yiKMrA8if8I8nuxxjBo1JyTrRrLIzF/CPIHtJaRb IJWU4hGDT0Li5UjAa73nCIi9PELnX5tOBnutRvjt6gvrObmp9JLmFrJdQKhRkfkGOLPg 6YvQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=mAY+TGRlEm3o5MNxNMBpluzt/7qnoQjRNsib7isq2qs=; b=Xf0nshuqzlzz9XX2zL8MC4DeTBONRI4s3fw/Qe6Qdth5VkBFJ/qb5NY6JaVIT3r99k Cd4eGb7NeFpamqTl+u6jvw5oGrwYY1DHrKrR/cwi0hEysLN8iDwazJN4QMmK/dON5CGi YqiB/r0Z5+k9ORDza0qyg9d7jKFQtWHI+zhqNmk5rVqItlLYJ2VQpBAyLcA8b6ZvRe5m /lZzl8RqcetVejRO2Z0HMAILzpSf8CrqEQiTwv2odysoyA2Q9FY9bXviO4xwh/XNjkBo 0fR35Z13PmTcFKtOjGJYqUpMjXtF6iPRVs0xgmhQa6VdmW9UNck1U/m4HZtPhI81JeOu asfA== X-Gm-Message-State: AOAM532rCDMjKEGhfyskzB042PmBLek7U5XwbmwDhXxnDXfnX7LkU1s8 tAVDHnodXBwez4pVnPSVdF+Ffw== X-Google-Smtp-Source: ABdhPJwGD8lRAta9UtPQEpq31OFRDBV+JVXGZR1ggD1fMy2jspcSXtxyBZ0tTPjthlAXWmaBg5G9Qw== X-Received: by 2002:a63:d45:: with SMTP id 5mr7637428pgn.0.1606499586105; Fri, 27 Nov 2020 09:53:06 -0800 (PST) Received: from xps15.cg.shawcable.net (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id t18sm10536724pji.1.2020.11.27.09.53.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2020 09:53:05 -0800 (PST) From: Mathieu Poirier To: gregkh@linuxfoundation.org Subject: [PATCH 08/15] coresight: Remove unnecessary THIS_MODULE of funnel and replicator driver Date: Fri, 27 Nov 2020 10:52:49 -0700 Message-Id: <20201127175256.1092685-9-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201127175256.1092685-1-mathieu.poirier@linaro.org> References: <20201127175256.1092685-1-mathieu.poirier@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201127_125309_028557_EE95F96D X-CRM114-Status: GOOD ( 15.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Qi Liu As THIS_MODULE has been set in platform_driver_register(), so remove it from static funnel driver and static replicator driver to avoid set it twice. Signed-off-by: Qi Liu Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-funnel.c | 2 +- drivers/hwtracing/coresight/coresight-replicator.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hwtracing/coresight/coresight-funnel.c b/drivers/hwtracing/coresight/coresight-funnel.c index af40814ce560..39be46b74dfe 100644 --- a/drivers/hwtracing/coresight/coresight-funnel.c +++ b/drivers/hwtracing/coresight/coresight-funnel.c @@ -356,7 +356,7 @@ static struct platform_driver static_funnel_driver = { .remove = static_funnel_remove, .driver = { .name = "coresight-static-funnel", - .owner = THIS_MODULE, + /* THIS_MODULE is taken care of by platform_driver_register() */ .of_match_table = static_funnel_match, .acpi_match_table = ACPI_PTR(static_funnel_ids), .pm = &funnel_dev_pm_ops, diff --git a/drivers/hwtracing/coresight/coresight-replicator.c b/drivers/hwtracing/coresight/coresight-replicator.c index 62afdde0e5ea..6772f23e5c4b 100644 --- a/drivers/hwtracing/coresight/coresight-replicator.c +++ b/drivers/hwtracing/coresight/coresight-replicator.c @@ -374,7 +374,7 @@ static struct platform_driver static_replicator_driver = { .remove = static_replicator_remove, .driver = { .name = "coresight-static-replicator", - .owner = THIS_MODULE, + /* THIS_MODULE is taken care of by platform_driver_register() */ .of_match_table = of_match_ptr(static_replicator_match), .acpi_match_table = ACPI_PTR(static_replicator_acpi_ids), .pm = &replicator_dev_pm_ops,