From patchwork Thu Sep 13 11:39:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 146627 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp497289ljw; Thu, 13 Sep 2018 04:39:50 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZy9NVeivoUWSmRAS/tXSauJBXlp1GSRL781ow3wHJqavYMPq2l3mbIfflQFpMPrdUPs5Hp X-Received: by 2002:a1c:7711:: with SMTP id t17-v6mr5185154wmi.35.1536838790218; Thu, 13 Sep 2018 04:39:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536838790; cv=none; d=google.com; s=arc-20160816; b=ZkCETjQk3lpw76maWdOgbPvMVY0Y5XwIANUmgImVI/BoCAjBpg4C44/UDLLdxaLRbf 6w/CjLKGq4GRELvOI8MbdDT78LhWwLEsebqUUshivC0q0HktrkjUBWB0Jg82Gvv6LMFJ /umvEmq+FBjqSDq6fT3goTnsYNSL6e+KM0RXvCYbMO5fQ0Q9b5aLl3dmLVHx0SkaI06b yyMr9VD/rl05QiXrhUHmA/VF8wNUGZ5i+/KYuun01M51c/b5rUczckLheELbIJcFEG1X BX3RO85Z7xDSwsg/31qevds7or6Ina13e4f9IB/lZyNynyBG+YooUxp13kOHeOUOwv9y BNAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to; bh=h4zC45Yu9t0mUbxxZSnblzNEdcBSZ0YH53bPmUbiHXI=; b=fdlqdMC6K+WSMiz1YWCDrcQA1QRyA40pT48CpA2V1Wpt83DusVd7KZU5QvJofBSZLI XSsx1m8glqhFNEpKvrEHRbFDvPh9FJ2ytHyZmuul79DS3EW2y5gR17cX8Bd2h14mKV2Z HLNSyD05mdOjZkQhh6KXHiqKcf2IPz05aGwLjOmhPign+Yk/4pstnEhl8Yax4Ua2YLvo qln77xPGo04VR2MA/yV+WZ0xZDHHbr9CV+QsAMQOAIRJcDxyGay3zrTq8mRWSJ64WKh1 8Pswcv6ShD47FHYWAw5zv975Sd+Pr7kRImsBh/OLBWKiRUK+wtlL1zlI262P1HWcdLqp V6Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=OvDuAcl7; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id r11-v6si3340450wrl.282.2018.09.13.04.39.50; Thu, 13 Sep 2018 04:39:50 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=OvDuAcl7; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 15627267891; Thu, 13 Sep 2018 13:39:49 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id EBFED2678A6; Thu, 13 Sep 2018 13:39:46 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id 9587E26789F for ; Thu, 13 Sep 2018 13:39:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=ol8+VwKvY7ECL7GQRw+Kag8ADx0HGpOc14OI1c2ikdw=; b=OvDuAcl7Kuh8 t0qtHRwgXS6j+Ryxk7ETECLcT9uGKY5XLXV57MGclTnE9QmmrJpZQjZa/cfb+XToO0LTr9oBh/BNM 9UAFof134/G3cL31uR9Yq6XLFQrP/VJAEml5CC0sebXqMNY8J7DIjQfDeEo8+lhcWgEUMVnlyejFc 3MtiY=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1g0PyI-0000Jc-D2; Thu, 13 Sep 2018 11:39:42 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 273AF1121CA5; Thu, 13 Sep 2018 12:39:42 +0100 (BST) From: Mark Brown To: zhong jiang In-Reply-To: Message-Id: <20180913113942.273AF1121CA5@debutante.sirena.org.uk> Date: Thu, 13 Sep 2018 12:39:42 +0100 (BST) Cc: alsa-devel@alsa-project.org, Mark Brown Subject: [alsa-devel] Applied "ASoC: remove unneeded static set .owner field in platform_driver" to the asoc tree X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: remove unneeded static set .owner field in platform_driver has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark >From e1e38ea14ea3294546e6350d05a1376197a73589 Mon Sep 17 00:00:00 2001 From: zhong jiang Date: Wed, 12 Sep 2018 11:41:49 +0800 Subject: [PATCH] ASoC: remove unneeded static set .owner field in platform_driver platform_driver_register will set the .owner field. So it is safe to remove the redundant assignment. The issue is detected with the help of Coccinelle. Signed-off-by: zhong jiang Signed-off-by: Mark Brown --- sound/soc/mediatek/mt2701/mt2701-wm8960.c | 1 - sound/soc/mediatek/mt6797/mt6797-mt6351.c | 1 - sound/soc/rockchip/rk3288_hdmi_analog.c | 1 - 3 files changed, 3 deletions(-) -- 2.19.0.rc2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/mediatek/mt2701/mt2701-wm8960.c b/sound/soc/mediatek/mt2701/mt2701-wm8960.c index 89f34efd9747..e5d49e6e2f99 100644 --- a/sound/soc/mediatek/mt2701/mt2701-wm8960.c +++ b/sound/soc/mediatek/mt2701/mt2701-wm8960.c @@ -150,7 +150,6 @@ static const struct of_device_id mt2701_wm8960_machine_dt_match[] = { static struct platform_driver mt2701_wm8960_machine = { .driver = { .name = "mt2701-wm8960", - .owner = THIS_MODULE, #ifdef CONFIG_OF .of_match_table = mt2701_wm8960_machine_dt_match, #endif diff --git a/sound/soc/mediatek/mt6797/mt6797-mt6351.c b/sound/soc/mediatek/mt6797/mt6797-mt6351.c index b1558c57b9ca..6e578e830e42 100644 --- a/sound/soc/mediatek/mt6797/mt6797-mt6351.c +++ b/sound/soc/mediatek/mt6797/mt6797-mt6351.c @@ -205,7 +205,6 @@ static const struct of_device_id mt6797_mt6351_dt_match[] = { static struct platform_driver mt6797_mt6351_driver = { .driver = { .name = "mt6797-mt6351", - .owner = THIS_MODULE, #ifdef CONFIG_OF .of_match_table = mt6797_mt6351_dt_match, #endif diff --git a/sound/soc/rockchip/rk3288_hdmi_analog.c b/sound/soc/rockchip/rk3288_hdmi_analog.c index 929b3fe289b0..a472d5eb2950 100644 --- a/sound/soc/rockchip/rk3288_hdmi_analog.c +++ b/sound/soc/rockchip/rk3288_hdmi_analog.c @@ -286,7 +286,6 @@ static struct platform_driver rockchip_sound_driver = { .probe = snd_rk_mc_probe, .driver = { .name = DRV_NAME, - .owner = THIS_MODULE, .pm = &snd_soc_pm_ops, .of_match_table = rockchip_sound_of_match, },