From patchwork Thu May 16 10:28:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 16994 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f70.google.com (mail-qa0-f70.google.com [209.85.216.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C4FD92391B for ; Thu, 16 May 2013 10:42:20 +0000 (UTC) Received: by mail-qa0-f70.google.com with SMTP id ia15sf2195110qab.1 for ; Thu, 16 May 2013 03:41:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=Ft2CPrAJn+LptVX6F0LUvo5N9Iw6BoByKZQChwkwsV4=; b=IbnfLrrrJAoGiozGe+wKwWfBPY7YUIgLip6Mcl8XuIMavhX22RVUSiVaDD7XWoFLqz op3/4I4CPCfE+xdvAoN+3Hi1z/T8nBgRh1MEZx6XIKvzogXGY3zilcTxBXq0oS8GoiDT jmle0qWF0FogzZmT1c4+vA7zF4PQdwtL+LtGSoL67iGi6npglTg0QF2Ct/C0o6p2zdkB KaV7ltmljmA0wuyAZ/4R2HaJIG1bpCCTc3OE/OTqVy5/oMW+0UhMPV/sZ8BTWINtu9KP WcTNiQrvLLb8SVO3b1rsZx2rEF9ojXxILoqKhmAnAYHjGsj2f1Mh4zHuQMj5i6jL3mMk GFPw== X-Received: by 10.224.217.195 with SMTP id hn3mr25587980qab.5.1368700901568; Thu, 16 May 2013 03:41:41 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.47.16 with SMTP id z16ls1089674qem.46.gmail; Thu, 16 May 2013 03:41:41 -0700 (PDT) X-Received: by 10.220.238.4 with SMTP id kq4mr3340297vcb.73.1368700901344; Thu, 16 May 2013 03:41:41 -0700 (PDT) Received: from mail-vb0-x231.google.com (mail-vb0-x231.google.com [2607:f8b0:400c:c02::231]) by mx.google.com with ESMTPS id ty3si3630559vec.0.2013.05.16.03.41.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 May 2013 03:41:41 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::231 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::231; Received: by mail-vb0-f49.google.com with SMTP id q12so1252146vbe.22 for ; Thu, 16 May 2013 03:41:41 -0700 (PDT) X-Received: by 10.220.46.197 with SMTP id k5mr27870651vcf.40.1368700901153; Thu, 16 May 2013 03:41:41 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.126.138 with SMTP id c10csp58422vcs; Thu, 16 May 2013 03:41:40 -0700 (PDT) X-Received: by 10.68.252.227 with SMTP id zv3mr43576565pbc.14.1368700899983; Thu, 16 May 2013 03:41:39 -0700 (PDT) Received: from mail-da0-x236.google.com (mail-da0-x236.google.com [2607:f8b0:400e:c00::236]) by mx.google.com with ESMTPS id eh5si4558815pac.202.2013.05.16.03.41.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 May 2013 03:41:39 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c00::236 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c00::236; Received: by mail-da0-f54.google.com with SMTP id z17so1575425dal.27 for ; Thu, 16 May 2013 03:41:39 -0700 (PDT) X-Received: by 10.68.196.231 with SMTP id ip7mr8440491pbc.61.1368700899596; Thu, 16 May 2013 03:41:39 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id k2sm7091646pat.7.2013.05.16.03.41.36 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 May 2013 03:41:38 -0700 (PDT) From: Sachin Kamat To: linux-pm@vger.kernel.org Cc: eduardo.valentin@ti.com, rui.zhang@intel.com, patches@linaro.org, sachin.kamat@linaro.org, Ezequiel Garcia Subject: [PATCH 1/4] Thermal: armada: Remove redundant use of of_match_ptr Date: Thu, 16 May 2013 15:58:08 +0530 Message-Id: <1368700091-6084-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQlLf0GgAgkUUfaMUcLXpHMsTemeMdhcrAYgQsxbdZLogzyyOlXkr+VzsUD8LpCHrvH2CXOX X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::231 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 'armada_thermal_id_table' is always compiled in and the driver is dependent on OF. Hence use of of_match_ptr is unnecessary. Signed-off-by: Sachin Kamat Cc: Ezequiel Garcia Acked-by: Eduardo Valentin --- drivers/thermal/armada_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/armada_thermal.c b/drivers/thermal/armada_thermal.c index 0d02d4e..9426bbd 100644 --- a/drivers/thermal/armada_thermal.c +++ b/drivers/thermal/armada_thermal.c @@ -220,7 +220,7 @@ static struct platform_driver armada_thermal_driver = { .driver = { .name = "armada_thermal", .owner = THIS_MODULE, - .of_match_table = of_match_ptr(armada_thermal_id_table), + .of_match_table = armada_thermal_id_table, }, };