From patchwork Sat Mar 17 18:24:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 10290939 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 4F3E7602C2 for ; Sat, 17 Mar 2018 18:25:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 39F9628FC4 for ; Sat, 17 Mar 2018 18:25:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2A61728FD6; Sat, 17 Mar 2018 18:25:08 +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 94E2D28FC4 for ; Sat, 17 Mar 2018 18:25:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753411AbeCQSZG (ORCPT ); Sat, 17 Mar 2018 14:25:06 -0400 Received: from mail-qt0-f194.google.com ([209.85.216.194]:38587 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753192AbeCQSZF (ORCPT ); Sat, 17 Mar 2018 14:25:05 -0400 Received: by mail-qt0-f194.google.com with SMTP id n12so14200177qtl.5 for ; Sat, 17 Mar 2018 11:25:05 -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; bh=yRsm82qHZkYlDUGQNIusaikg61d22x7S4QSYq10Eato=; b=uCtX4uAaF/8rFs46YV9zQzAnyqHWNgCFGWN6c8CsYVQ/EdXPTxWa6pGuomCh8vFarX TgQPWgQvGcgqJpW0weeSjg1SweqcGcfKFQAnW8PrgeCadNjl7PYpTmkGAfttHSOBydlB f6Rh9xi6st7gR1rX2tISeesGwxwraybN3YqmQ+SbFALlbF51UFTHad3v0fAMgsYlv3zs 3DzWNrJv48BrgwzmWZ0x53eYOd/+attHmawYFiZtDGMdgYXOrDDAIg3rO9fdCeDDiSy6 gJtkUtMRMdN/ZomoamIZZYhFCNJG4CTDIhNp6kAdtrZgBvBBSsK3MfcL5edDVc0HSmUd 7laA== 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; bh=yRsm82qHZkYlDUGQNIusaikg61d22x7S4QSYq10Eato=; b=DLAUHqS+BwIEqcLhe4SvdeKPpyvQtcDCadzqBvREtgKa8FhEIZjgA1oSh4MlRgh6wn n5tTLv97UvZ5hAeY1nT19WbJXTtlltd0uE/jhIbR4CsBWpdR9sgQdZJIYaH3YLBxhn9c sbgagQiGFuaEEkBMXaLRcEuHvrEYoGLxCXzx6SaBdytziX/Ah1dczKAoFX1AmUF614wY jNEDYG2EOf3RQEbpD9ptxXkmHmgSWmmTbKml8II5QSVignj2N8Eqn4r68G5h+5/yVL+R htLAqemRPd3DyUNfrE4qYhXPKEMFwXeMgNsQyBefJ7WmUw8qMzlk73sxmgSP8QEMUkVR XKkQ== X-Gm-Message-State: AElRT7GwczArAn80U6BZ0ZURYPBQjAdyZPvyBIsSgacwK0EVE4UU9VJ6 X0o3/jEsPykoTDi5Bt3+NlQ= X-Google-Smtp-Source: AG47ELv2yhCMrBBjZDNwpNcA6Zi4Y+qNld6Mzg9468mSWDMsGo1xkc6G4L+nQOQIIurUY0TcEzJyXA== X-Received: by 10.237.33.40 with SMTP id 37mr9579740qtc.4.1521311105055; Sat, 17 Mar 2018 11:25:05 -0700 (PDT) Received: from localhost.localdomain ([187.180.181.98]) by smtp.gmail.com with ESMTPSA id m3sm7306892qtg.57.2018.03.17.11.25.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 17 Mar 2018 11:25:04 -0700 (PDT) From: Fabio Estevam To: mchehab@kernel.org Cc: zhengsq@rock-chips.com, linux-media@vger.kernel.org, Fabio Estevam Subject: [PATCH v2] media: ov2685: Remove owner assignment from i2c_driver Date: Sat, 17 Mar 2018 15:24:58 -0300 Message-Id: <1521311098-12079-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 2.7.4 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. Signed-off-by: Fabio Estevam --- Changes since v1: - s/platform_driver/i2c_driver in the commit log drivers/media/i2c/ov2685.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/i2c/ov2685.c b/drivers/media/i2c/ov2685.c index 83c55e8..385c188 100644 --- a/drivers/media/i2c/ov2685.c +++ b/drivers/media/i2c/ov2685.c @@ -832,7 +832,6 @@ MODULE_DEVICE_TABLE(of, ov2685_of_match); static struct i2c_driver ov2685_i2c_driver = { .driver = { .name = "ov2685", - .owner = THIS_MODULE, .pm = &ov2685_pm_ops, .of_match_table = of_match_ptr(ov2685_of_match), },