From patchwork Mon Sep 22 22:22:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 37707 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f197.google.com (mail-we0-f197.google.com [74.125.82.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 28AE2202A1 for ; Mon, 22 Sep 2014 22:23:13 +0000 (UTC) Received: by mail-we0-f197.google.com with SMTP id p10sf1270295wes.0 for ; Mon, 22 Sep 2014 15:23:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=aPEfu/ws85oWNWW8dyXyZPnhSW04p4t+OjXFVd/9Q2c=; b=gtSLWxxyfdRt8OO8qF9XV5vryysOKMr3seYsd7/pXSI/CBTyTeZCVjVZFLV2VySVY9 vEXkZMr5cW31sbGDA48hs9out+dXmmt4obGhPpHDlVNcKHPHULkwEl4mAGG5B041YOeJ S0yvHJ8FYH3vGfAwcX5DLgm94XAolIt44Gg8tGutgQe57zeKIL5LZ3pJwVmgIP1bzKE/ tjtoPBeKDYM1GQ71sTNc/y4OqlqMQJUPyG0i5wNDmjbkwLJcHa/qFMX3zpvDdPdG2pTH ZoUVCCixZqYpKQ929UV62XqPiPem3jjO57pNqqeatfR/sygotkBUczcl3oXTCoQWxgAV CbPQ== X-Gm-Message-State: ALoCoQlGlQzhmlqZSeyNfADjhfPE1AUncDQqyE2GCxUpnEXfEIVtoLp87d1VGYmWcQTiTLk2QD98 X-Received: by 10.180.83.7 with SMTP id m7mr1799412wiy.5.1411424592374; Mon, 22 Sep 2014 15:23:12 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.29.135 with SMTP id k7ls479959lah.78.gmail; Mon, 22 Sep 2014 15:23:12 -0700 (PDT) X-Received: by 10.112.24.104 with SMTP id t8mr27463977lbf.46.1411424592191; Mon, 22 Sep 2014 15:23:12 -0700 (PDT) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com [209.85.217.173]) by mx.google.com with ESMTPS id r5si16218834lal.3.2014.09.22.15.23.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 22 Sep 2014 15:23:12 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) client-ip=209.85.217.173; Received: by mail-lb0-f173.google.com with SMTP id 10so5907890lbg.18 for ; Mon, 22 Sep 2014 15:23:12 -0700 (PDT) X-Received: by 10.152.163.66 with SMTP id yg2mr28434372lab.38.1411424592075; Mon, 22 Sep 2014 15:23:12 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.130.169 with SMTP id of9csp321677lbb; Mon, 22 Sep 2014 15:23:11 -0700 (PDT) X-Received: by 10.70.92.9 with SMTP id ci9mr34779010pdb.106.1411424590649; Mon, 22 Sep 2014 15:23:10 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j5si2618161pdk.48.2014.09.22.15.23.10 for ; Mon, 22 Sep 2014 15:23:10 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755209AbaIVWW4 (ORCPT + 27 others); Mon, 22 Sep 2014 18:22:56 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:58394 "EHLO mail-wg0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754873AbaIVWWx (ORCPT ); Mon, 22 Sep 2014 18:22:53 -0400 Received: by mail-wg0-f49.google.com with SMTP id x12so3440911wgg.8 for ; Mon, 22 Sep 2014 15:22:52 -0700 (PDT) X-Received: by 10.180.77.100 with SMTP id r4mr8986409wiw.1.1411424572361; Mon, 22 Sep 2014 15:22:52 -0700 (PDT) Received: from srini-ThinkPad-X1-Carbon-2nd.dlink.com (host-78-149-10-230.as13285.net. [78.149.10.230]) by mx.google.com with ESMTPSA id ju1sm13768353wjc.1.2014.09.22.15.22.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 Sep 2014 15:22:51 -0700 (PDT) From: Srinivas Kandagatla To: Mauro Carvalho Chehab Cc: Maxime Coquelin , Patrice Chotard , linux-arm-kernel@lists.infradead.org, kernel@stlinux.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 3/3] media: st-rc: Remove .owner field for driver Date: Mon, 22 Sep 2014 23:22:48 +0100 Message-Id: <1411424568-12803-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1411424501-12673-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1411424501-12673-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: srinivas.kandagatla@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , There is no need to init .owner field. Based on the patch from Peter Griffin "mmc: remove .owner field for drivers using module_platform_driver" This patch removes the superflous .owner field for drivers which use the module_platform_driver API, as this is overriden in platform_driver_register anyway." Signed-off-by: Srinivas Kandagatla --- drivers/media/rc/st_rc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/rc/st_rc.c b/drivers/media/rc/st_rc.c index 03bbb09..e309441 100644 --- a/drivers/media/rc/st_rc.c +++ b/drivers/media/rc/st_rc.c @@ -392,7 +392,6 @@ MODULE_DEVICE_TABLE(of, st_rc_match); static struct platform_driver st_rc_driver = { .driver = { .name = IR_ST_NAME, - .owner = THIS_MODULE, .of_match_table = of_match_ptr(st_rc_match), .pm = &st_rc_pm_ops, },