From patchwork Mon Apr 23 11:42:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 10356869 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 D5881601BE for ; Mon, 23 Apr 2018 11:44:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C6FB528A7F for ; Mon, 23 Apr 2018 11:44:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B1D8C28A85; Mon, 23 Apr 2018 11:44:28 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, 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 4738B28A7F for ; Mon, 23 Apr 2018 11:44:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754869AbeDWLo0 (ORCPT ); Mon, 23 Apr 2018 07:44:26 -0400 Received: from mail-qt0-f195.google.com ([209.85.216.195]:36620 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754878AbeDWLoX (ORCPT ); Mon, 23 Apr 2018 07:44:23 -0400 Received: by mail-qt0-f195.google.com with SMTP id q13-v6so17168065qtl.3 for ; Mon, 23 Apr 2018 04:44:22 -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=E/IP2un9sA3E9DHlDtEabFsNed5yLR2xZKoYTExoKQko6ySfSVxWG0WLgkD6VFlPvo xKYyYs2pj3Bd4aPMEYErlUD+ySkr6z4wKLsrdhjJDzIj+5zwV1fQ+WDbeL7mCUnKE0h+ M/WLZ8eLPEbqDJC4SnpuSwZOc62IUYEfci63q2yohYPjpVIzxiq+q50QYB5ULvbx/Q3Z ZGkQ2xclEV8+d8V4OpLLhtrVgV4F+XGbhahsbnXyGwV7RJD/H3FDV5j/eEszmqgu1O+F BnQgexT5dBH2szMFmf+mJnSj2WF1HtiO3vGb2P+eRsisZuQd4PuP6SQVvKav7aH/8ITD PzqQ== 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=lK5I1y9shkholFgSfR4LY53gH+jvPOjJEzHBXYfU7Pd2x6/t77a9qoRMXl3qbRPfZJ QqButUdMiSCo+Gk5chaAAFAOEGSx0AQve5vrYj3EyO2RAnpRcy4Sd7yKx+TTA4p7XDr6 V0UyjHHhyvfBrbAlC827eT0/4R0FVQDE3JPCkoQvA/TEPX6rboWPleo5x+jBgGH3nk0/ mTnQc+nUAXJdqFsML5Q39FUCxMAJwYJ/igoXjF8hcdcIaj85evwoFaThdofV/vPvomrd F0Z/cVXCna7+BeXFgZJ35TOPCWq2QBpMZUQQOozioXBsY/GyL7DGSYdRI7kE3rrGtkZ6 yN1A== X-Gm-Message-State: ALQs6tALFLLfARbFlCBgBoAtAQp7LHAnESOvYWCKSeMDmq/MID10eDNq MfDwBDkwZ3aPeVuOSj3O3zY= X-Google-Smtp-Source: AB8JxZq7qOl3jNefzvu/jN9bNc5dL0jZwglsFZ3PGtx81UzO1HAlHPHRBy6n+YjJoBncJpvemTNGyA== X-Received: by 2002:aed:3a09:: with SMTP id n9-v6mr22868883qte.98.1524483862304; Mon, 23 Apr 2018 04:44:22 -0700 (PDT) Received: from localhost.localdomain ([187.180.182.212]) by smtp.gmail.com with ESMTPSA id o72sm9345459qke.44.2018.04.23.04.44.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 23 Apr 2018 04:44:21 -0700 (PDT) From: Fabio Estevam To: mchehab@kernel.org Cc: hverkuil@xs4all.nl, sakari.ailus@iki.fi, linux-media@vger.kernel.org, Fabio Estevam , Shunqian Zheng Subject: [PATCH RESEND 2/3] media: ov5695: Remove owner assignment from i2c_driver Date: Mon, 23 Apr 2018 08:42:01 -0300 Message-Id: <1524483722-19783-2-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524483722-19783-1-git-send-email-festevam@gmail.com> References: <1524483722-19783-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), },