From patchwork Thu May 16 10:28:10 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 16996 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f69.google.com (mail-qe0-f69.google.com [209.85.128.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7290E2391B for ; Thu, 16 May 2013 10:42:26 +0000 (UTC) Received: by mail-qe0-f69.google.com with SMTP id a11sf3972472qen.8 for ; Thu, 16 May 2013 03:41:47 -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=L913/bNsbafKBHEf12BY5KO1kBy3EkISayevDQzLqGg=; b=IclzwMwMFoSfrJuG7Ff0NekcFfr+TPHBJW9DCvN4JbWYYK1YOYIAep6Vst/nQwvxKT dbpG9w7bILkB0gxBSZPPWv78yp4lxhIG2QJkctQ+SiyBHuRM/yq46zUEXk0Qa6Kin3GT wyvz4PQp1/LOOcg46P5/aF30Be3ZgVfhCux/eOYwv99Ah+kASKM71EI/xixOvotK0l1o tVXciPoLaoHzxPo+dbiUxWnA0utoGQ9wNO3C7K3oHUJz0O0Te/4l4ei/iAOeE4G35h+v OgkpA3mKr++0I/ELrqslmJRJqTItVuUgMBix2kcw7iQDg3cjkyE1eyNuC5/pvn5kRlop 91Yw== X-Received: by 10.224.165.130 with SMTP id i2mr25597078qay.2.1368700907532; Thu, 16 May 2013 03:41:47 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.16.164 with SMTP id h4ls1115505qed.40.gmail; Thu, 16 May 2013 03:41:47 -0700 (PDT) X-Received: by 10.52.93.233 with SMTP id cx9mr23368210vdb.112.1368700907372; Thu, 16 May 2013 03:41:47 -0700 (PDT) Received: from mail-vb0-x230.google.com (mail-vb0-x230.google.com [2607:f8b0:400c:c02::230]) by mx.google.com with ESMTPS id ty3si3592965vec.27.2013.05.16.03.41.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 May 2013 03:41:47 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::230 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::230; Received: by mail-vb0-f48.google.com with SMTP id q16so1247819vbe.21 for ; Thu, 16 May 2013 03:41:47 -0700 (PDT) X-Received: by 10.58.172.67 with SMTP id ba3mr27136857vec.58.1368700907193; Thu, 16 May 2013 03:41:47 -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 c10csp58428vcs; Thu, 16 May 2013 03:41:46 -0700 (PDT) X-Received: by 10.68.193.138 with SMTP id ho10mr42506161pbc.163.1368700906271; Thu, 16 May 2013 03:41:46 -0700 (PDT) Received: from mail-pb0-x235.google.com (mail-pb0-x235.google.com [2607:f8b0:400e:c01::235]) by mx.google.com with ESMTPS id sk3si4569475pab.145.2013.05.16.03.41.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 May 2013 03:41:46 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c01::235 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c01::235; Received: by mail-pb0-f53.google.com with SMTP id un1so2209232pbc.12 for ; Thu, 16 May 2013 03:41:45 -0700 (PDT) X-Received: by 10.66.12.40 with SMTP id v8mr43406148pab.13.1368700905866; Thu, 16 May 2013 03:41:45 -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.43 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 May 2013 03:41:45 -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, Nobuhiro Iwamatsu Subject: [PATCH 3/4] Thermal: kirkwood: Remove redundant use of of_match_ptr Date: Thu, 16 May 2013 15:58:10 +0530 Message-Id: <1368700091-6084-3-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: ALoCoQm+g5F6R5nS+kepOzOoqEQ782/+O2Zb5nPNvLeOKi/O54hBIvXDuxdRVHCqLXKoKfYlCKDA X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::230 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: , 'kirkwood_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: Nobuhiro Iwamatsu Acked-by: Eduardo Valentin --- drivers/thermal/kirkwood_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/kirkwood_thermal.c b/drivers/thermal/kirkwood_thermal.c index b57a45d..944ac49 100644 --- a/drivers/thermal/kirkwood_thermal.c +++ b/drivers/thermal/kirkwood_thermal.c @@ -120,7 +120,7 @@ static struct platform_driver kirkwood_thermal_driver = { .driver = { .name = "kirkwood_thermal", .owner = THIS_MODULE, - .of_match_table = of_match_ptr(kirkwood_thermal_id_table), + .of_match_table = kirkwood_thermal_id_table, }, };