From patchwork Fri Mar 16 22:43:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 10290411 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 88201602C2 for ; Fri, 16 Mar 2018 22:43:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 652EC29009 for ; Fri, 16 Mar 2018 22:43:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 59FCE290BF; Fri, 16 Mar 2018 22:43:24 +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 C736D29009 for ; Fri, 16 Mar 2018 22:43:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751499AbeCPWnW (ORCPT ); Fri, 16 Mar 2018 18:43:22 -0400 Received: from mail-qt0-f195.google.com ([209.85.216.195]:35727 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750915AbeCPWnV (ORCPT ); Fri, 16 Mar 2018 18:43:21 -0400 Received: by mail-qt0-f195.google.com with SMTP id z14so12538583qti.2 for ; Fri, 16 Mar 2018 15:43:21 -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=WV6V3+W/UT8Sbk48osZE7ZdkgJc2mI41WiFPsM7xWmI=; b=gsfieToJOPvXG/iBGreqpeGL89Pea5o2gF3s97EVPAGy1kWFrBhgI5ucZiIyPc2GHN cULYIMtRM8pW9yK0g8Zl84CWQvI9Afd0ug+Y/L+v4KMK9scmUGSotzB6lOuoz9n6gQQv JgKB324tHhGc9VEQlPYFuGszg+IxBHtS9jD0GUhrvybm33EwqjTmmRFmzcca2DNcRMqy p57mGQU1RK19FC2xZiN8fCRbjH3v9viTveRM35yUOPwymG+jmQaSBP22jw1gYCcK97ZG WOPjZFWGmViKSgvubPMY+29gwNpIY0JexwgEIqm/CtOOZOh9z+mjpWBo9VyOhMYrd4qw As8g== 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=WV6V3+W/UT8Sbk48osZE7ZdkgJc2mI41WiFPsM7xWmI=; b=qeVIqwJpHOYWeZYCMVbz43hl6uzSsciPymgUb3T4WWtc9rKvQmtyJ2dRGdEAZpgdBG 8RwhzFrKBKs16frow5F57MBcGD03o8mPUN8LvHyner6Yv2CT02isQwuYM67q+Ena4xbu krDNVgINlATpLa3HblbuXWT6sYczSBc5aJMyM2hWVRBf9uxVzie8KK8xxbr1Bwj6syH0 L7RQBcJftZEc5NRDkl8+nnhe87IOhKTrZ2IGug5JWjO+MAsK+Yc0y8bR3HbDGqnAwdop N2GpLZ1pXzAo3qzN8rp/LhIO9aXpJT56mEwKlTfCy51TjpuTfT9QebubZWHD4tEoSNua HP+g== X-Gm-Message-State: AElRT7HjZMafrVwRfphAcJNHuse/5Rqp3lolwAxCoz1EuM+GBTJP4oU6 D7ZJAfbgLeNnZwIfGzJ5WlFl/Q== X-Google-Smtp-Source: AG47ELtthgTGqGwtLzA5U2Vw1bilCQdQY4egHR29pl8029eiu3p7UGil0z4/HedUeh8gnwBH6LIGZQ== X-Received: by 10.200.39.39 with SMTP id g36mr4212156qtg.227.1521240200986; Fri, 16 Mar 2018 15:43:20 -0700 (PDT) Received: from localhost.localdomain ([187.180.180.110]) by smtp.gmail.com with ESMTPSA id v84sm6009298qkv.15.2018.03.16.15.43.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 16 Mar 2018 15:43:20 -0700 (PDT) From: Fabio Estevam To: mchehab@kernel.org Cc: zhengsq@rock-chips.com, linux-media@vger.kernel.org, Fabio Estevam Subject: [PATCH] media: ov2685: Remove owner assignment from platform_driver Date: Fri, 16 Mar 2018 19:43:13 -0300 Message-Id: <1521240193-4277-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 platform_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 --- 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), },