From patchwork Thu May 16 10:28:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 16997 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f72.google.com (mail-qa0-f72.google.com [209.85.216.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 902A12391B for ; Thu, 16 May 2013 10:42:29 +0000 (UTC) Received: by mail-qa0-f72.google.com with SMTP id i13sf3670636qae.7 for ; Thu, 16 May 2013 03:41:50 -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=F7EKva8jByIHF07y/35WiYOTnX6AzyzjSiIB98apngc=; b=gpKODw9UOAS57vvuNW6GxFCqkZGRwynOPvSGPzikI6dkyCGvUdBfBGFTeo3uGRdPyV DDwJ2Aq62BkYidxY5fwUVamgoAX97SWsixRsbY1JPJ7WDtzdk2T1ybbBs2Wc+OhGylTv WkPprCce7KMKEsmFz5M91oQstxJT3NBSK9EXgkB0d+o0PAg6UdT518S2r+QnUU3jvP5g n/rhb1kp7N/YedUP+JGuvzD6yRa6r2H5EJNVt18asz8jyvPINo2uXACIHZLZdaZx3rTK mmWmrbYMsCann1nbMPhyObD3oGIW+ADlAaPBPnILWsmLNNcIG5z7tvvnkhIXeWpSyBf5 +9rw== X-Received: by 10.224.36.66 with SMTP id s2mr25577063qad.6.1368700910678; Thu, 16 May 2013 03:41:50 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.98.2 with SMTP id ee2ls1137547qeb.11.gmail; Thu, 16 May 2013 03:41:50 -0700 (PDT) X-Received: by 10.220.186.137 with SMTP id cs9mr27473736vcb.6.1368700910495; Thu, 16 May 2013 03:41:50 -0700 (PDT) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id gr7si3607179vdc.77.2013.05.16.03.41.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 May 2013 03:41:50 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.177; Received: by mail-vc0-f177.google.com with SMTP id ha12so2625198vcb.8 for ; Thu, 16 May 2013 03:41:50 -0700 (PDT) X-Received: by 10.220.92.195 with SMTP id s3mr27884946vcm.9.1368700910321; Thu, 16 May 2013 03:41:50 -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 c10csp58431vcs; Thu, 16 May 2013 03:41:49 -0700 (PDT) X-Received: by 10.67.10.4 with SMTP id dw4mr42789397pad.177.1368700909541; Thu, 16 May 2013 03:41:49 -0700 (PDT) Received: from mail-da0-x22f.google.com (mail-da0-x22f.google.com [2607:f8b0:400e:c00::22f]) by mx.google.com with ESMTPS id dj6si4540115pad.308.2013.05.16.03.41.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 May 2013 03:41:49 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c00::22f is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c00::22f; Received: by mail-da0-f47.google.com with SMTP id k13so1581297dae.34 for ; Thu, 16 May 2013 03:41:49 -0700 (PDT) X-Received: by 10.68.130.199 with SMTP id og7mr43233305pbb.132.1368700909119; Thu, 16 May 2013 03:41:49 -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.46 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 May 2013 03:41:48 -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, Vincenzo Frascino , Viresh Kumar Subject: [PATCH 4/4] Thermal: spear: Remove redundant use of of_match_ptr Date: Thu, 16 May 2013 15:58:11 +0530 Message-Id: <1368700091-6084-4-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: ALoCoQmY5zHJ5SU/f879QRE1iPb3voJjphzCDBq1Xxkf0dkQ5yc3uBHLLJ4cT472KX0LWZKsgjB/ X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.177 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: , 'spear_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: Vincenzo Frascino Cc: Viresh Kumar Acked-by: Viresh Kumar Acked-by: Eduardo Valentin --- drivers/thermal/spear_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/spear_thermal.c b/drivers/thermal/spear_thermal.c index 1a14eaa..dcb5f6f 100644 --- a/drivers/thermal/spear_thermal.c +++ b/drivers/thermal/spear_thermal.c @@ -197,7 +197,7 @@ static struct platform_driver spear_thermal_driver = { .name = "spear_thermal", .owner = THIS_MODULE, .pm = &spear_thermal_pm_ops, - .of_match_table = of_match_ptr(spear_thermal_id_table), + .of_match_table = spear_thermal_id_table, }, };