From patchwork Sat Mar 24 14:01:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 10306055 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 61169600CC for ; Sat, 24 Mar 2018 14:01:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 45F7F292D6 for ; Sat, 24 Mar 2018 14:01:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 39D59292DA; Sat, 24 Mar 2018 14:01:45 +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 B2909292D6 for ; Sat, 24 Mar 2018 14:01:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752003AbeCXOBn (ORCPT ); Sat, 24 Mar 2018 10:01:43 -0400 Received: from mail-qk0-f196.google.com ([209.85.220.196]:42783 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751891AbeCXOBm (ORCPT ); Sat, 24 Mar 2018 10:01:42 -0400 Received: by mail-qk0-f196.google.com with SMTP id b198so15821427qkg.9 for ; Sat, 24 Mar 2018 07:01:42 -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=Dt58Mj1noK4Fsxkn6qLoc1AvTvwbDZiqui5H32qtdOU=; b=JaPZKOe0hFqjMcRDWf3vx6N/tWgdYb+TP4mtuIRmMLlDAnjn6z8Jkab8QdrDahTqJU nP/+PqTW0mOXylwMIaKBCEcb7iwzKnb/DeMH27ixv+c9wZQ8VAxSiaKtYMD0eZ+An9e7 pFlYRpXqZSTgoMm3dHo/DxelcON/n7WUD1jQURe1TtO0PtTGFLtjcp51vT45xU0rZ+WZ m6BgRVIYEFMZhJuPuTwEBKN64RwnPV8aonHhusirE1L4wf+9VfVrKH9wrsPfQhecF8j6 0waihGR7wgnqy/jGUOzvkxVgYuYRH/sfLAkIWPsi1VoVDp6/o6F0X3tfsxAQfc40Z9ha SpGQ== 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=Dt58Mj1noK4Fsxkn6qLoc1AvTvwbDZiqui5H32qtdOU=; b=BgweQwkz53psqiJZ3Gv4k8fj1q3i1eG8UQLFRyOtWXHXkcxIoyEiOQI/XXi5KOyauF nhB3O1BOrxqjMnUJ/71iRvroLjso6N4CnBy+6X1a6dIuID598AvsaoDlnQYq5xIkIVD3 djfK00ICFaScfSqu2+8zAUdHlzn94amBB9IMrtFrui+5CpYx14AZF+T5yZt4v+IadWjp b2gWtmRtBinrEA1Fg8tMHlDgTTU94T9157tR/nP3yb72MZEffXIb/VeC2xAtZEQhPz71 jE2x4ndEHRbUuCEpldVh6/nGGOQDm8/nBSQzkEemR88hjSlrzkIQ5LMCol03MSGopS5j ZFVw== X-Gm-Message-State: AElRT7GabYx0s2waL1yU8X1Np5f3SyLaQZCg05XfgxEAH2wz4QZGRpyQ n6p3BDVJwQglS2IHNjR22Xii5Q== X-Google-Smtp-Source: AG47ELtPU8i37K81XG3Ok+3sNBD5exw0k77JfuEAqyrWDvQJGbnIOsrnhRwdP30MgaRdKgS6X7r5TA== X-Received: by 10.55.187.3 with SMTP id l3mr34512967qkf.32.1521900101908; Sat, 24 Mar 2018 07:01:41 -0700 (PDT) Received: from localhost.localdomain ([187.180.181.214]) by smtp.gmail.com with ESMTPSA id j19sm6911566qtf.21.2018.03.24.07.01.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 24 Mar 2018 07:01:41 -0700 (PDT) From: Fabio Estevam To: mchehab@kernel.org Cc: linux-media@vger.kernel.org, Fabio Estevam , Matthias Schwarzott Subject: [PATCH 1/3] media: si2165: Remove owner assignment from i2c_driver Date: Sat, 24 Mar 2018 11:01:32 -0300 Message-Id: <1521900094-25876-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,