From patchwork Tue Mar 26 09:42: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: 15651 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id DD21623E0E for ; Tue, 26 Mar 2013 09:53:34 +0000 (UTC) Received: from mail-vb0-f45.google.com (mail-vb0-f45.google.com [209.85.212.45]) by fiordland.canonical.com (Postfix) with ESMTP id 908C2A1989C for ; Tue, 26 Mar 2013 09:53:34 +0000 (UTC) Received: by mail-vb0-f45.google.com with SMTP id q16so2062436vbe.18 for ; Tue, 26 Mar 2013 02:53:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=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; bh=W0iaQkDrw0L91H+Ode7QwZ6eBBsOW7Vt6dANf4jFv4U=; b=VM7ExRFohBVeNxEOA1drEiwGGIxggQaEYXX2LpBwvzLOhDYzu7dXeLAOtJbEaBTzWZ xpNk0zT3i+EJ4XKW+CI586YUnZ2ruw0Gc3oHIDwg6Bxl14FcxeQCC5GnUyNQOkbgaGvL phveOUKpOIxWs4RsWAoB7WczFJOX/EThOtgk5KY2Jgei6FZ0tNmC5Pv54jx72Wi/H7sZ vHANJXARyHXKUHBBNs6KKY4m3y8qwg2PkrVfC3tPzijIOJgYfYw705bobjwvTvm1lDi/ zAPNRuGk+53+SmCRhx9UD/eXEfVc3ftIYp3LK0j59g5iVCV4r4PiZ8/b+BaJ9in1gb+F s6DQ== X-Received: by 10.52.20.239 with SMTP id q15mr16284850vde.73.1364291614066; Tue, 26 Mar 2013 02:53:34 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.59.4.204 with SMTP id cg12csp63367ved; Tue, 26 Mar 2013 02:53:33 -0700 (PDT) X-Received: by 10.68.44.169 with SMTP id f9mr6027691pbm.106.1364291612918; Tue, 26 Mar 2013 02:53:32 -0700 (PDT) Received: from mail-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) by mx.google.com with ESMTPS id kb5si2459440pbc.257.2013.03.26.02.53.32 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Mar 2013 02:53:32 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.53 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.53; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.53 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-pa0-f53.google.com with SMTP id bh4so1297348pad.40 for ; Tue, 26 Mar 2013 02:53:32 -0700 (PDT) X-Received: by 10.68.0.41 with SMTP id 9mr22748367pbb.132.1364291612404; Tue, 26 Mar 2013 02:53:32 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id 1sm16940332pbg.18.2013.03.26.02.53.29 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 26 Mar 2013 02:53:31 -0700 (PDT) From: Sachin Kamat To: linux-iio@vger.kernel.org Cc: jic23@kernel.org, jic23@cam.ac.uk, ch.naveen@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 1/2] iio: exynos_adc: Remove redundant of_match_ptr macro Date: Tue, 26 Mar 2013 15:12:10 +0530 Message-Id: <1364290931-25772-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQlXdtcMlGRkWjIqNcOidAVBNFDWWI/WaIsT7PKizkdfZ5/e8VzeE3Aqh61thai+l8MelXHC exynos_adc is a DT only driver and exynos_adc_match table is always compiled in. Hence remove the macro. Signed-off-by: Sachin Kamat --- drivers/iio/adc/exynos_adc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/iio/adc/exynos_adc.c b/drivers/iio/adc/exynos_adc.c index 4a8a9a3..9f3a8ef 100644 --- a/drivers/iio/adc/exynos_adc.c +++ b/drivers/iio/adc/exynos_adc.c @@ -440,7 +440,7 @@ static struct platform_driver exynos_adc_driver = { .driver = { .name = "exynos-adc", .owner = THIS_MODULE, - .of_match_table = of_match_ptr(exynos_adc_match), + .of_match_table = exynos_adc_match, .pm = &exynos_adc_pm_ops, }, };