From patchwork Sat Mar 24 14:01:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 10306059 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 8BBDB60325 for ; Sat, 24 Mar 2018 14:01:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F127292D6 for ; Sat, 24 Mar 2018 14:01:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 73E88292DA; Sat, 24 Mar 2018 14:01:49 +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 09C3A292D6 for ; Sat, 24 Mar 2018 14:01:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752122AbeCXOBr (ORCPT ); Sat, 24 Mar 2018 10:01:47 -0400 Received: from mail-qt0-f195.google.com ([209.85.216.195]:46053 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751891AbeCXOBq (ORCPT ); Sat, 24 Mar 2018 10:01:46 -0400 Received: by mail-qt0-f195.google.com with SMTP id f8so15412549qtg.12 for ; Sat, 24 Mar 2018 07:01:46 -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=rAfFzcVzgXYdF3AxqWzV2l8Ka1fx9/SM7T0pt3nLsqlNqtAfDVeP+Th0+NCX3Ft2zE ET8rNKrRmIBa7xEDpimvR9oKqLR4bBvAVHQJZz9r9kC62x648SdrkKXXIVPURKogF9EA +ol7aXHYQqJqk6s2OP/GX//0jP0zI8yKGh5W7Tv2cZts7u0DZoqvhMpTZUBVypQn5TYo 2n9Q3yCLNJpoJYzS6AKueWErLY/EAEChpAvVM72JWk5dVRijEvBo+lYj43s1YPiifqE+ e52jHGjDXuQBLPT4AYmvFeyKgI3IN77dRcjR3PSBuUJeD71qQORNE+1bWBcIR8qv/SeW wljw== 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=LBoMTZ0BR36W65mEC3EUC03aBPnwX3G144xUAn6u7MxzTgSr2uWpWKdSn7JADTCgub XfHLdPYbEU7aULK5bs6W6fNcnumPWgh/6uniV6ShtBikiiYDBVOSH0Zyjxeuhegck9y9 b6D+WiBvCS2FdXrfHPoqplKYbtVDYcSaa6nXNTBoyLXDeGvnszy11+0lnChYLaqil8ig jHcQPAYkT81K6pWjqf+QCp8howkPySVm26/gHiBxEibNlTh6adJF6F5i4chjzwvARTpF zBcSeEVza6M3qwbJEFKesMV+OpGp0t8oRkf6fzflvmdIyPGHpCffSaAPZr/ycjDDAsB/ ag1w== X-Gm-Message-State: AElRT7HiozeivKh/H0hbc4F6k5ux/T1S2fx8Wad71PlPHeQYIxyN125n h5Xubj1mu4pjrfztRMNS0bMrFg== X-Google-Smtp-Source: AG47ELuQQoLgpTa7N36gKuafHw4I2v1J3RPedAE5bE10rIjKLK9FrLUYV8wSdT8/lM4FQGcXAaXLoQ== X-Received: by 10.237.56.3 with SMTP id j3mr44985537qte.219.1521900105931; Sat, 24 Mar 2018 07:01:45 -0700 (PDT) Received: from localhost.localdomain ([187.180.181.214]) by smtp.gmail.com with ESMTPSA id j19sm6911566qtf.21.2018.03.24.07.01.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 24 Mar 2018 07:01:45 -0700 (PDT) From: Fabio Estevam To: mchehab@kernel.org Cc: linux-media@vger.kernel.org, Fabio Estevam , Sakari Ailus Subject: [PATCH 3/3] media: ov13858: Remove owner assignment from i2c_driver Date: Sat, 24 Mar 2018 11:01:34 -0300 Message-Id: <1521900094-25876-3-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: 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), },