From patchwork Sat Mar 24 14:01:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 10306057 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 0C737600CC for ; Sat, 24 Mar 2018 14:01:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F3489292D6 for ; Sat, 24 Mar 2018 14:01:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E84D2292DA; Sat, 24 Mar 2018 14:01:47 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3D7D2292D6 for ; Sat, 24 Mar 2018 14:01:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752084AbeCXOBq (ORCPT ); Sat, 24 Mar 2018 10:01:46 -0400 Received: from mail-qk0-f196.google.com ([209.85.220.196]:45294 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751891AbeCXOBp (ORCPT ); Sat, 24 Mar 2018 10:01:45 -0400 Received: by mail-qk0-f196.google.com with SMTP id s9so15815302qke.12 for ; Sat, 24 Mar 2018 07:01:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=808kp9SMW1CX0G+zAds2xAfecrKOFKh5t87RO5JuBiU=; b=I97MgcohWCLCkoGTUGjqdia8bIFksQ1um14neHxaFZbqAzNEO43b1xGZFsAp59UY79 YYTSYlhHE53F3kbAOBEj0jb3TuYuuVTz1Us+DeJrYxqnx3fBDLBq6kSd/Rj+fSDbvmxq 9SxSjnc4QMq8S79Alfo+HlxE081f9PFvHZ36zUVE2TNzx0TvoodYJ3enMOgjqmVwBDhx 5fCfY56HLfeRyWYThqXLSXwx0UsbtNTdmukwXcH5ayJWIpWWQNcjaRcvuHoCTxB+sRr+ 2R5lzGrooKjmEfIu91KgFNE8FqxLxi1du0jbo8nJpzvAxr3n8ZDMQY69SM3Ovqjmh55d Opzg== 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; bh=808kp9SMW1CX0G+zAds2xAfecrKOFKh5t87RO5JuBiU=; b=qsKiFojtyrQiVCqzOowUgmoXdowsX3t8W5bDxOszzp/HcpH20R6W5EnAZRV6YK3Tz/ AQsFyzojdbyFLdIF6y3u362wS922XXnro9itJnj+NXB3XD5PCsYRC4d+jX19hEm4QWEj 1abRfFrVXHA2W3XrRqExeQ0RihuxqYU4sa6Ft6xYq+YElJIQcF5pbhhA0AHDXVVEbt+b tVhT0VZCDpKbV1sO8uV4BNdIhUaIu+4I7t371nslYR4PQIMLu7A51L7xEAKHLUZ6/8FI nbr5QD4/EcbDZb8oOeW6GwVAmCutWlZlIeFJAJACi/2BZgFWhwhlLGPSPqBU2qA2tGeq 9jvg== X-Gm-Message-State: AElRT7HEjlJy3VLSTvRtR5ZM+90aXrvMDzBwqeDZGmxy42BoBaVlYFMd Ou8yF7FRixMSKUou0A1MySc= X-Google-Smtp-Source: AG47ELtUBouqc+PULi0pnqNz8NpL035WZntJR+q9QvOthZz5UG8gI0X4dWlT/ACKPCf5HEQaz8a74g== X-Received: by 10.55.196.65 with SMTP id h1mr44726321qkm.19.1521900103967; Sat, 24 Mar 2018 07:01:43 -0700 (PDT) Received: from localhost.localdomain ([187.180.181.214]) by smtp.gmail.com with ESMTPSA id j19sm6911566qtf.21.2018.03.24.07.01.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 24 Mar 2018 07:01:43 -0700 (PDT) From: Fabio Estevam To: mchehab@kernel.org Cc: linux-media@vger.kernel.org, Fabio Estevam , Shunqian Zheng Subject: [PATCH 2/3] media: ov5695: Remove owner assignment from i2c_driver Date: Sat, 24 Mar 2018 11:01:33 -0300 Message-Id: <1521900094-25876-2-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1521900094-25876-1-git-send-email-festevam@gmail.com> References: <1521900094-25876-1-git-send-email-festevam@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Fabio Estevam Structure i2c_driver does not need to set the owner field, as this will be populated by the driver core. Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci. Cc: Shunqian Zheng Signed-off-by: Fabio Estevam --- drivers/media/i2c/ov5695.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/i2c/ov5695.c b/drivers/media/i2c/ov5695.c index 9be38a0..9a80dec 100644 --- a/drivers/media/i2c/ov5695.c +++ b/drivers/media/i2c/ov5695.c @@ -1385,7 +1385,6 @@ MODULE_DEVICE_TABLE(of, ov5695_of_match); static struct i2c_driver ov5695_i2c_driver = { .driver = { .name = "ov5695", - .owner = THIS_MODULE, .pm = &ov5695_pm_ops, .of_match_table = of_match_ptr(ov5695_of_match), },