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: 2576231 X-Patchwork-Delegate: eduardo.valentin@ti.com Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 7241C3FC5A for ; Thu, 16 May 2013 10:41:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751812Ab3EPKlu (ORCPT ); Thu, 16 May 2013 06:41:50 -0400 Received: from mail-pb0-f48.google.com ([209.85.160.48]:39690 "EHLO mail-pb0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751763Ab3EPKlt (ORCPT ); Thu, 16 May 2013 06:41:49 -0400 Received: by mail-pb0-f48.google.com with SMTP id md4so2195777pbc.21 for ; Thu, 16 May 2013 03:41:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=F7EKva8jByIHF07y/35WiYOTnX6AzyzjSiIB98apngc=; b=J5eP89U0zPvs43XWXtxuL5Dm6bw/8k/Qzfy2SYe5Rnixude5kWqxBJPEfMzCLwuNRu NSSWZMMxTTqssoUssdLoHN3wOhvsGFpJX82KAo49T8QuUgm/eTTy3dzFTOMIrBG+Fujj Iafwc/nnqHb2ZHIx0Lriun6YK+8LTxlSRYbEdQUBdXgu+JHR/DCzxgtKD7Xuy9+I+JGK wsMb1TmyI12Yb4jd2SJnvUu1WODHimnBR7isQqV0llkMIotg2ItUhyFxVZGGFUELl/O4 /IgJg2CVFQxd9D0T6QzwTfgwI3G6BO7o31RpYYifkmbKnH9XSDn/EGh7UR+BjgLpRznS Fc1A== 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: ALoCoQks5079LlCQ3Xp/j3FrYYXApSzRI5UX5lkb/cISp6oZHnSNjuuiXylvP5Y1fLKxz4C5J63c Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org '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, }, };