From patchwork Fri Oct 25 11:59:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3095611 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id DC7449F2B7 for ; Fri, 25 Oct 2013 12:00:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DA26720334 for ; Fri, 25 Oct 2013 12:00:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AA49120320 for ; Fri, 25 Oct 2013 12:00:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751963Ab3JYMAn (ORCPT ); Fri, 25 Oct 2013 08:00:43 -0400 Received: from mail-pa0-f52.google.com ([209.85.220.52]:65520 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751778Ab3JYMAm (ORCPT ); Fri, 25 Oct 2013 08:00:42 -0400 Received: by mail-pa0-f52.google.com with SMTP id kl14so4973233pab.39 for ; Fri, 25 Oct 2013 05:00:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=py9K7tLkYSN97i1v9iQFIAT1NZhxbhuPYsIHek7iIRc=; b=bkplNDWfa84x/6tvCeGtCzlDZKI+aiI4TBRh4qLQExXurOXb3h80+sQvH3YhVG90W7 LbVHbc8uRoLOxQ6GvNr5WsWZfhbLNQK229tj+BFb690f57x0jroQmuOt2gHyB9ysJB1H NHjRRVGGpV7ZG2SpoHghiwRa5EzEQsVzBiNXbZx7EkQGsI3wsjFJCtbElwaVicGTeMwH gP1o6a9XPisNha1ct1iD2GK/paQYG4U+xnezItpsF6wFZldwDq7Jk38blUpZuZoZrk6/ T1y+TpI4oepuEf7vUfBlHSLcQ2FB+WZg/s2QKrT/kTKzaGz6QkvGB2CowKN0IO3s3XkS 3baQ== X-Gm-Message-State: ALoCoQmSwpJIRsEG8RyFmdAeWrWvbT7eD8lxwDXl7pkL8fMqFvhpFxlPnYJ6WJlv/iLA7GxbWvVc X-Received: by 10.67.4.136 with SMTP id ce8mr10153833pad.158.1382702441894; Fri, 25 Oct 2013 05:00:41 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id ja5sm9099627pbc.14.2013.10.25.05.00.39 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 25 Oct 2013 05:00:41 -0700 (PDT) From: Sachin Kamat To: linux-fbdev@vger.kernel.org Cc: jg1.han@samsung.com, tomi.valkeinen@ti.com, akpm@linux-foundation.org, sachin.kamat@linaro.org, Maxime Ripard Subject: [PATCH 1/1] backlight: hx8357: Remove redundant of_match_ptr Date: Fri, 25 Oct 2013 17:29:33 +0530 Message-Id: <1382702373-19573-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 'hx8357_dt_ids' is always compiled in. Hence of_match_ptr is not needed. Signed-off-by: Sachin Kamat Cc: Maxime Ripard Acked-by: Maxime Ripard Acked-by: Jingoo Han --- drivers/video/backlight/hx8357.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/backlight/hx8357.c b/drivers/video/backlight/hx8357.c index c7af8c4..5a4dd33 100644 --- a/drivers/video/backlight/hx8357.c +++ b/drivers/video/backlight/hx8357.c @@ -685,7 +685,7 @@ static struct spi_driver hx8357_driver = { .remove = hx8357_remove, .driver = { .name = "hx8357", - .of_match_table = of_match_ptr(hx8357_dt_ids), + .of_match_table = hx8357_dt_ids, }, };