Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1937554pxx; Sat, 31 Oct 2020 03:17:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQ0v/niA3QleDYqv+HfWVlSet5bLlbW4KK+/G2/myRaG0e1O+Tl3wcCYTIM1ua6xQPu0eM X-Received: by 2002:a50:dac1:: with SMTP id s1mr6955894edj.74.1604139433574; Sat, 31 Oct 2020 03:17:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604139433; cv=none; d=google.com; s=arc-20160816; b=eDUs/DxjgQjrlypKQODnVOX7gP57EgYN7sEoJqqdDITDkHNfT+wO1ucthDIXZqzI3S jDCrHHJnESTPDg7Nevq8Nuu10Snk9H1hldUL2fJTDOwxQImAX/iIZtrkevVc7aKQ0b3a G6VN/COxle8OHuEYQzevK2HIfPdc2hKb1Vfl8leYpRHJWaF87S7UU5RGiNagL600CY3U x4j7r4LT9rLl7LfAepX41y0GYLQAOZ1YqtIU8WH5I2aqEd9qB2Ep6YJOtdXchNgVB3TR whYsoo4VEj7IFOwsRs/lerdGK3mJ4ThVet18rD3NMyHD4YT7SsAXJ+9PI4e6h372LMdV lmpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=7gH8T8A2++7q2UmHYYkCOtkpoGrxtyFOyNie5A271P4=; b=VoeYVgRRidvgEk0ffmxR8glyJGuoGAB0B6sB2fGxYaXUWKfu/ykW98BpP69uvb6klE /9Z8YNiIp37unGhCLDzkE7PAIK6iANjFaahoF62n1gVF3Z3+s5nv8GSNWYqR+ePe8WvE hjrgt2bDCu1MeA2KUyRSHH66bA2fJ28EEmhNRJHn0ZoqVyZQbmS7NtQRO7XPsZww5eL0 IBgNW2Gzx98WiJDg/SfXvGuz/SAzTmg9rG9oYRVGLSOw17ayj5J4NUd+9T7+bSmdnPdc pdNqKwW8OGJcV2MIAnzpPTrv6PJucEkHKVOC/csc8xmiUc5NJeefuCTEBr79YuHP8Txu DkvQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cy27si6593666edb.419.2020.10.31.03.16.48; Sat, 31 Oct 2020 03:17:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726697AbgJaKOG (ORCPT + 99 others); Sat, 31 Oct 2020 06:14:06 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:7002 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726562AbgJaKOG (ORCPT ); Sat, 31 Oct 2020 06:14:06 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4CNZlb0twLzhdgM; Sat, 31 Oct 2020 18:14:03 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.487.0; Sat, 31 Oct 2020 18:13:55 +0800 From: Qi Liu To: , , , CC: , , Subject: [PATCH] coresight: funnel: Remove unnecessary .owner of static funnel driver Date: Sat, 31 Oct 2020 18:12:30 +0800 Message-ID: <1604139150-18659-1-git-send-email-liuqi115@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As driver.owner has been set in platform_driver_register(), it is unnecessary to set it in static funnel driver, so remove it from struct static_funnel_driver. Signed-off-by: Qi Liu --- drivers/hwtracing/coresight/coresight-funnel.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/hwtracing/coresight/coresight-funnel.c b/drivers/hwtracing/coresight/coresight-funnel.c index af40814..07bc203 100644 --- a/drivers/hwtracing/coresight/coresight-funnel.c +++ b/drivers/hwtracing/coresight/coresight-funnel.c @@ -356,7 +356,6 @@ static struct platform_driver static_funnel_driver = { .remove = static_funnel_remove, .driver = { .name = "coresight-static-funnel", - .owner = THIS_MODULE, .of_match_table = static_funnel_match, .acpi_match_table = ACPI_PTR(static_funnel_ids), .pm = &funnel_dev_pm_ops, -- 2.8.1