From patchwork Sat Mar 24 15:17:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 10306089 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 9B9D7600CC for ; Sat, 24 Mar 2018 15:17:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 88B7B1FF6A for ; Sat, 24 Mar 2018 15:17:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7B009292C6; Sat, 24 Mar 2018 15:17:44 +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=-1.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9865F1FF6A for ; Sat, 24 Mar 2018 15:17:43 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 0D491266E0E; Sat, 24 Mar 2018 16:17:41 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 136CA266E6B; Sat, 24 Mar 2018 16:17:38 +0100 (CET) Received: from mail-qt0-f193.google.com (mail-qt0-f193.google.com [209.85.216.193]) by alsa0.perex.cz (Postfix) with ESMTP id 8D582266DD5 for ; Sat, 24 Mar 2018 16:17:36 +0100 (CET) Received: by mail-qt0-f193.google.com with SMTP id f8so15533660qtg.12 for ; Sat, 24 Mar 2018 08:17:36 -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=S8Yh9v9MQh8izdvHiDziF9WvKz+BJAz9NvM54s4dpAo=; b=CQngnhoQ6B6usBsgfCWulpRTOmiTVDgSxP++h5Tn45sOTzN1NHOnjCOidkMs62iJJ5 mt/vgBu7DhjEvQWgb+7grNpXwfvDykYnm9E8gG1YIdZM6Z804zguTw5naGAxShv8ne38 4OolKHcAXXbTLXjP5LZYnEEHpbQKOtGHBCYb6z02wbfsaFZstF+dU1PRFGzFuLVqPJZj B6PDfrT2QgAnHezpf2fyZ39hPEZayORMz9IVlR1H2b3TYlf64V3yuYViW1oHDJAv8moR vPJXBravKMY9CTYATkBSJkFUAVhpffWkLy7Grunuu9Eqk+Vq8NA+mKIWNNkQmp96WV4A kRpQ== 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=S8Yh9v9MQh8izdvHiDziF9WvKz+BJAz9NvM54s4dpAo=; b=LVZYACcdcSBJdNgt40SDCIq8uCPQnConF03xfVTOtiuYtTh9d9i+o4VmRz8HQeUrrn YpyDhR78iCb7enGKdpVE9EhcoEPSvjH9aLHjWtpqkOQVJ1aywf3bnFc+dGzICfa9Shrm 33t4Pgy1gN+4o8cbFmYYbzmq/nUTQepoB4CNQ5ZARV0a7VcG+TB+LiGCpJw0r7Ije5RK miLUUM2PWrGZSvRdk3PsZQ6kuTSt4XlOJPCV931iTbuXgqKturYQ7uZ1a3+7ntGQOvMO nMuPVE/dyS5dF8wYfodwKYebWaSGikJIePj7TgOWMmR7f0JP7Ko86OkLdqv6Zhy48y6E L8Vw== X-Gm-Message-State: AElRT7H9mMFKU6tYRjJDzB7trWNRYfLxWgRkpphhbGyNC13Z63Nkt2Wy 7z1rbG+f7aZdOI9NUiNpZB4= X-Google-Smtp-Source: AG47ELvLdh8AGDw+i9u4N+mHVM5RwfOZbk5xyH/Fd7VFpX+wBRS54hsESPE9cPQEQGjmPF1C1ceSEQ== X-Received: by 10.237.44.199 with SMTP id g65mr45236240qtd.124.1521904654991; Sat, 24 Mar 2018 08:17:34 -0700 (PDT) Received: from localhost.localdomain ([187.180.181.214]) by smtp.gmail.com with ESMTPSA id c5sm8448552qkf.93.2018.03.24.08.17.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 24 Mar 2018 08:17:34 -0700 (PDT) From: Fabio Estevam To: broonie@kernel.org Date: Sat, 24 Mar 2018 12:17:17 -0300 Message-Id: <1521904637-3496-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 2.7.4 Cc: steven.eckhoff.opensource@gmail.com, Fabio Estevam , alsa-devel@alsa-project.org Subject: [alsa-devel] [PATCH] ASoC: tscs42xx: Remove owner assignment from i2c_driver X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.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 --- sound/soc/codecs/tscs42xx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/tscs42xx.c b/sound/soc/codecs/tscs42xx.c index cfc71b5..bbfc73a 100644 --- a/sound/soc/codecs/tscs42xx.c +++ b/sound/soc/codecs/tscs42xx.c @@ -1443,7 +1443,6 @@ MODULE_DEVICE_TABLE(of, tscs42xx_of_match); static struct i2c_driver tscs42xx_i2c_driver = { .driver = { .name = "tscs42xx", - .owner = THIS_MODULE, .of_match_table = tscs42xx_of_match, }, .probe = tscs42xx_i2c_probe,