From patchwork Thu May 16 10:28:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 16995 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f70.google.com (mail-vb0-f70.google.com [209.85.212.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9CCA12391B for ; Thu, 16 May 2013 10:42:23 +0000 (UTC) Received: by mail-vb0-f70.google.com with SMTP id f13sf199448vbg.9 for ; Thu, 16 May 2013 03:41:44 -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 :in-reply-to:references: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=gpw/a02jQQ37tYiPfjXxNWcAhbLo9GqTZhynYLC327U=; b=NXZ4gvlBFci00FK8uu1OjygMSaVC79HN/ow4tLd83XLVBvxDxXsJaurTBz3U5Go/Kd Mu0PS4oQkvwwOvXvsQS//fq0Lsth48kqFEnZL1/06vrR2n1TitlCImlxSdlW/8DYXnqh uvQehuImFQLU2wzfAxf7X7/L5ynf1SJk4zKp/lRRvS65wFKMHe6i7/inG+ttyzvFc/7u r6tbq7sw2doksxDsfX4hoesFycygDoqnNMo6timjvSvo9ZJzTD2O9ZhP/Hlx5KS5If1B 1MYIZKD16N6I4QxNR/5wa6+1WSm6KwVKRKCsRP9SadBvaQrZ9Ox08p1N9VawZwX5RM/j Hdqg== X-Received: by 10.224.130.195 with SMTP id u3mr25606245qas.1.1368700904419; Thu, 16 May 2013 03:41:44 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.24.6 with SMTP id q6ls1069157qef.35.gmail; Thu, 16 May 2013 03:41:44 -0700 (PDT) X-Received: by 10.52.66.78 with SMTP id d14mr6402237vdt.111.1368700904266; Thu, 16 May 2013 03:41:44 -0700 (PDT) Received: from mail-ve0-x236.google.com (mail-ve0-x236.google.com [2607:f8b0:400c:c01::236]) by mx.google.com with ESMTPS id tn5si1047768vdc.91.2013.05.16.03.41.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 May 2013 03:41:44 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::236 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:c01::236; Received: by mail-ve0-f182.google.com with SMTP id da11so2883375veb.13 for ; Thu, 16 May 2013 03:41:44 -0700 (PDT) X-Received: by 10.220.192.3 with SMTP id do3mr27544428vcb.16.1368700904061; Thu, 16 May 2013 03:41:44 -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 c10csp58425vcs; Thu, 16 May 2013 03:41:43 -0700 (PDT) X-Received: by 10.68.211.73 with SMTP id na9mr43044449pbc.90.1368700903180; Thu, 16 May 2013 03:41:43 -0700 (PDT) Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) by mx.google.com with ESMTPS id sm10si4249377pbc.288.2013.05.16.03.41.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 May 2013 03:41:43 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.172 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.172; Received: by mail-pd0-f172.google.com with SMTP id 6so2229943pdd.17 for ; Thu, 16 May 2013 03:41:42 -0700 (PDT) X-Received: by 10.68.131.195 with SMTP id oo3mr18772466pbb.143.1368700902821; Thu, 16 May 2013 03:41:42 -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.39 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 May 2013 03:41:42 -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, Andrew Lunn Subject: [PATCH 2/4] Thermal: dove: Remove redundant use of of_match_ptr Date: Thu, 16 May 2013 15:58:09 +0530 Message-Id: <1368700091-6084-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1368700091-6084-1-git-send-email-sachin.kamat@linaro.org> References: <1368700091-6084-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQnBxgDozfu6Pd3pPbRhny21nZG57PUY9v/RvjgKGPGtgxzpnY9jg23ddfN2RDB7tWTAh1fz X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::236 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: , 'dove_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: Andrew Lunn Acked-by: Eduardo Valentin --- drivers/thermal/dove_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/dove_thermal.c b/drivers/thermal/dove_thermal.c index 900479e..49f9a0a 100644 --- a/drivers/thermal/dove_thermal.c +++ b/drivers/thermal/dove_thermal.c @@ -194,7 +194,7 @@ static struct platform_driver dove_thermal_driver = { .driver = { .name = "dove_thermal", .owner = THIS_MODULE, - .of_match_table = of_match_ptr(dove_thermal_id_table), + .of_match_table = dove_thermal_id_table, }, };