From patchwork Mon Apr 23 11:42:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 10356867 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 9314A60225 for ; Mon, 23 Apr 2018 11:44:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 81B8C28A7C for ; Mon, 23 Apr 2018 11:44:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 74AD428A7F; Mon, 23 Apr 2018 11:44:27 +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 6BEE628A7C for ; Mon, 23 Apr 2018 11:44:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754880AbeDWLoY (ORCPT ); Mon, 23 Apr 2018 07:44:24 -0400 Received: from mail-qk0-f196.google.com ([209.85.220.196]:43463 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754814AbeDWLoU (ORCPT ); Mon, 23 Apr 2018 07:44:20 -0400 Received: by mail-qk0-f196.google.com with SMTP id v2so15773946qkh.10 for ; Mon, 23 Apr 2018 04:44:20 -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=cJ+66XKO2IBklSpYyawCmBO21EEJfe77XES/LuGa8u0=; b=I4fHo1Iy5PbtmtwA2SuInB0g1OMFSQm+1eREJpcNZXRABoGc3QLIdLDZCubf9LlvdT doVyBLi9PHLoH0F3pjqDc14OwoEsw1QytzbKgjy0A7fh0YHLXXZj+WMgzTYpgV9SRD+U 1vFr9x8s8VVitqWTQyN0gbHn3wW20Xq5cjob47Cf6mnzp+I4wMBKOOwJYX9M0zePgKJJ SxoDVkKooDLdb9y6Y1/W9BJqz1UQ/UZHeSZb2V7epGOfpOvRZ14T2RIxJTASS7LJz5hg u9+UCSgoubMj274rSos4tSUc8nAESl76Qn2douC7/PCrh3AUk2X22FFHP9gzmvMf/K6z LVmQ== 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=cJ+66XKO2IBklSpYyawCmBO21EEJfe77XES/LuGa8u0=; b=isZDozYGbVz5FmVpuMIAgtJEHXyZfXusRTkDu3GEGh8D4jj1lMos7nZv//fNaEo9eY Wvm5ErO55B4NKH5lPTsuEea4FohJQQLcVTEyuvZiJRU1LWLNvivnj99Qzq/56NMK7fHo T+O1tWkNLsF7kz3sZsFuw9kJ2aNCf4CMEkd0w1aMCdPqOAmlegNnHUtU5IcoIjfvme7H dGHr5UQe/BGum02aBntSayzBhFLEO1mUuizMqaVux4HzZY69R3X6KbepR0YQvXe1x/Ou dGbbjr1KEiu1s3fX4BwFa/JNlTWR99pj5BMliwFP3EDA1WzvdG5aMaZIygcyJCYkh6lb UbLw== X-Gm-Message-State: ALQs6tCCrf1GteK2Il0rnZGWVrkkQQRKpfKQQVxnh/mJ9T7gI95j0hXt DGlKV33KLUxIKq0H0u97kkY= X-Google-Smtp-Source: AB8JxZoPycT/E2luwfoBKWlSY6y8vfD6z6Z9GQiD4eooB7N+ctfH/XWt0bJipcmf8UkUjp68XNo6eg== X-Received: by 10.55.97.197 with SMTP id v188mr22166519qkb.134.1524483859669; Mon, 23 Apr 2018 04:44:19 -0700 (PDT) Received: from localhost.localdomain ([187.180.182.212]) by smtp.gmail.com with ESMTPSA id o72sm9345459qke.44.2018.04.23.04.44.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 23 Apr 2018 04:44:19 -0700 (PDT) From: Fabio Estevam To: mchehab@kernel.org Cc: hverkuil@xs4all.nl, sakari.ailus@iki.fi, linux-media@vger.kernel.org, Fabio Estevam , Matthias Schwarzott Subject: [PATCH RESEND 1/3] media: si2165: Remove owner assignment from i2c_driver Date: Mon, 23 Apr 2018 08:42:00 -0300 Message-Id: <1524483722-19783-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. Cc: Matthias Schwarzott Signed-off-by: Fabio Estevam Reviewed-by: Matthias Schwarzott --- drivers/media/dvb-frontends/si2165.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/dvb-frontends/si2165.c b/drivers/media/dvb-frontends/si2165.c index 2dd336f..d132e3c 100644 --- a/drivers/media/dvb-frontends/si2165.c +++ b/drivers/media/dvb-frontends/si2165.c @@ -1299,7 +1299,6 @@ MODULE_DEVICE_TABLE(i2c, si2165_id_table); static struct i2c_driver si2165_driver = { .driver = { - .owner = THIS_MODULE, .name = "si2165", }, .probe = si2165_probe,