From patchwork Tue Jul 12 11:31:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: weiyj_lk@163.com X-Patchwork-Id: 9225135 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D29FE60868 for ; Tue, 12 Jul 2016 11:31:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C33B32756B for ; Tue, 12 Jul 2016 11:31:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B767A27EED; Tue, 12 Jul 2016 11:31:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 64F372756B for ; Tue, 12 Jul 2016 11:31:48 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bMvum-0005Za-3s; Tue, 12 Jul 2016 11:31:48 +0000 Received: from m12-14.163.com ([220.181.12.14]) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bMvub-0005MI-TJ; Tue, 12 Jul 2016 11:31:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=/ccFH ywGY2fawPfKMwn4H8w66w451rp3ub01wX+xyIY=; b=Iu8gDJLINIBlu93bqxJkd KHfYtIgN1pVjo/SVi68/F5/I/7ZTYDCNYQr8wa9+Vf/rw4BdtII2oWhK8BGS9nYY KtaTXQZKHPWY9PdRXF102RZQKfENbbkz/vl99inlwcY9euNzPTKUMsPVh6FzEmBb +Y1okpiXa4T0KPqxyZda5w= Received: from localhost.localdomain.localdomain (unknown [180.110.253.144]) by smtp10 (Coremail) with SMTP id DsCowACnNKIB1YRX7FWxAQ--.29451S2; Tue, 12 Jul 2016 19:31:15 +0800 (CST) From: weiyj_lk@163.com To: Mauro Carvalho Chehab , Matthias Brugger Subject: [PATCH -next] [media] mtk-vcodec: remove .owner field for driver Date: Tue, 12 Jul 2016 11:31:13 +0000 Message-Id: <1468323073-1655-1-git-send-email-weiyj_lk@163.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-CM-TRANSID: DsCowACnNKIB1YRX7FWxAQ--.29451S2 X-Coremail-Antispam: 1Uf129KBjvdXoW7Wr4DGFy3Kr1xCF1fZF4rGrg_yoWfZrc_uF n0qFn7Zr10k3srta1fKF1S934FvFZ8urs5KFySyFWaqa47WF4Yqr1DAFW7Za1q9w1vvFn8 JayaqrWUCrnxAjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUnj0PDUUUUU== X-Originating-IP: [180.110.253.144] X-CM-SenderInfo: pzhl5yxbonqiywtou0bp/xtbBygOk1lO+kd6mWAAAsn X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160712_043138_306483_A70EB316 X-CRM114-Status: UNSURE ( 8.08 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Wei Yongjun , linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Wei Yongjun Remove .owner field if calls are used which set it automatically. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Wei Yongjun --- drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c b/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c index 9c10cc2..60b0bde 100644 --- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c +++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c @@ -430,7 +430,6 @@ static struct platform_driver mtk_vcodec_enc_driver = { .remove = mtk_vcodec_enc_remove, .driver = { .name = MTK_VCODEC_ENC_NAME, - .owner = THIS_MODULE, .of_match_table = mtk_vcodec_enc_match, }, };