From patchwork Mon Apr 23 11:42:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 10356871 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 51AE0601BE for ; Mon, 23 Apr 2018 11:44:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 40D4D28A7C for ; Mon, 23 Apr 2018 11:44:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3408B28A80; Mon, 23 Apr 2018 11:44:32 +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 F26AF28A7E for ; Mon, 23 Apr 2018 11:44:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754828AbeDWLo3 (ORCPT ); Mon, 23 Apr 2018 07:44:29 -0400 Received: from mail-qt0-f193.google.com ([209.85.216.193]:45018 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754814AbeDWLoZ (ORCPT ); Mon, 23 Apr 2018 07:44:25 -0400 Received: by mail-qt0-f193.google.com with SMTP id j26-v6so17160223qtl.11 for ; Mon, 23 Apr 2018 04:44:25 -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=YzTEHC+gRXwvqF1h7CzbpHA1yF6pDSXtKyPH8tt/dok=; b=LMiCk+2+WoBIkixoP6A16go0ZyleS/bISrgY7sFpoGsLKRUrn6BLmL5YcJOnsaoFzS ugd8VV8j8ToIbsOSeqN8WFF5toEn/m9qDFim1bUUmc+M3VH4mSw3jFNN22gmgVaOIsIu BMt/yvy7EJk/Sgc9NDx1or+mToekyuFHNjyeO45+AqAQ97o/YDysZmSFcPCEWB2KDTem GmfUWI2bci7o5UqTOGCD5atZbxfoeeKKnoSZdgIsMqKtwj7KVw/4ZnROWVI0Y4RTmSCY CPpGmwO/M1UCl06HcbDduKciiKqyw/4g5rQ/cTsm0zQfyTin5+fjVtAtNEvmcYY+92kU rmog== 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=YzTEHC+gRXwvqF1h7CzbpHA1yF6pDSXtKyPH8tt/dok=; b=pTtUMWV0l6hRZkpUHALWVju9Dvi77U7zV4rMQew8glDeeLCId7u+5nhBc0vlCbKOpk htnijmBPq/TZ6CdnkR4aLAujiRNb0Z4XZ9+CoNqDvtcdFLEExx0DFV9k6daDeOOOOT3d s7QJ7DRKCEaDGwPAsH/LI7Y0sS7oQCoyHX+e8eneQgfaVPjv/uuzfJfmWPOsaddPlHVD i6wBHHW61qRyqvuhJNe8CsQbLXqC5rTTJtH9p1TarY/Qz3fXseAsp/JO07t/Ty30brWF RfPfbeYmpNoEBIZvelq304K9tUapi7sRcsFWnqRCJPSWe8eR0oMrKAzC4mcs/AMHQszh VPWg== X-Gm-Message-State: ALQs6tAnOqE0qJmZs1+3zWynZWMMIbpejrGMkZV0W9czlGdpBeETwchf kk5Ub94dV3W7EWGJ+/iDoIh9WA== X-Google-Smtp-Source: AIpwx4+q0n+a6NWcQ0ROa+u9rth5AKeawjMhc140WMQLKvnjTmwnaj41aoZ1GZf+FyEdyh2fmAP/hw== X-Received: by 2002:ac8:2b8e:: with SMTP id m14-v6mr22763470qtm.217.1524483864853; Mon, 23 Apr 2018 04:44:24 -0700 (PDT) Received: from localhost.localdomain ([187.180.182.212]) by smtp.gmail.com with ESMTPSA id o72sm9345459qke.44.2018.04.23.04.44.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 23 Apr 2018 04:44:24 -0700 (PDT) From: Fabio Estevam To: mchehab@kernel.org Cc: hverkuil@xs4all.nl, sakari.ailus@iki.fi, linux-media@vger.kernel.org, Fabio Estevam , Sakari Ailus Subject: [PATCH RESEND 3/3] media: ov13858: Remove owner assignment from i2c_driver Date: Mon, 23 Apr 2018 08:42:02 -0300 Message-Id: <1524483722-19783-3-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: Sakari Ailus Signed-off-by: Fabio Estevam --- drivers/media/i2c/ov13858.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/i2c/ov13858.c b/drivers/media/i2c/ov13858.c index 30ee9f7..5b617a7 100644 --- a/drivers/media/i2c/ov13858.c +++ b/drivers/media/i2c/ov13858.c @@ -1805,7 +1805,6 @@ MODULE_DEVICE_TABLE(acpi, ov13858_acpi_ids); static struct i2c_driver ov13858_i2c_driver = { .driver = { .name = "ov13858", - .owner = THIS_MODULE, .pm = &ov13858_pm_ops, .acpi_match_table = ACPI_PTR(ov13858_acpi_ids), },