From patchwork Fri Nov 7 12:26:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 40396 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0FF3424237 for ; Fri, 7 Nov 2014 12:27:17 +0000 (UTC) Received: by mail-la0-f71.google.com with SMTP id gq15sf2931777lab.2 for ; Fri, 07 Nov 2014 04:27:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe:content-type; bh=QP3MPL/VozS99QE53/5sVkOXGPO3Flc+HhtOx/mHIhA=; b=JhZcS8GrLrY7uii2b8YB4qc64DJ3sOOAdFhlTl3E3TupVEBypjw8He1ZzWIbIqGYbn fJzn1XKUF4cCX/b0Rfjt5EhhQ/kf01v/4yuJZmfAYgUWwCis4tiqCWmEdRUSaQ83HOt6 uQ/d/Yq839YYIepUWGLuYpMtZPU/2PbzpZFToX//qxNN8H24DCU78keuaqxFqmrcqVOy 7/dl9V21O2qsdyRvKVs3OLvfoPmQQb8qxu+DLq16TpxEsQzAT6LQGIkr2UibBokt5t4O QZHK/lmX+jrWSKuNDJcggYOVlE051knJIoH1ByEn9eyhPoDeanxAUtAc2mTSKvzl0Gyp nWRQ== X-Gm-Message-State: ALoCoQlv566NXsn43attSxRHqUaHh8gBHMYJmOlgUdm8kAD96gDmZW5wpdVZtiaMfjE9QmKEA+IW X-Received: by 10.180.90.115 with SMTP id bv19mr605440wib.1.1415363235630; Fri, 07 Nov 2014 04:27:15 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.4.33 with SMTP id cb1ls220941lad.89.gmail; Fri, 07 Nov 2014 04:27:15 -0800 (PST) X-Received: by 10.152.87.18 with SMTP id t18mr11151919laz.0.1415363235375; Fri, 07 Nov 2014 04:27:15 -0800 (PST) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id ra3si15041386lbb.24.2014.11.07.04.27.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Nov 2014 04:27:15 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by mail-la0-f45.google.com with SMTP id pn19so4280692lab.4 for ; Fri, 07 Nov 2014 04:27:15 -0800 (PST) X-Received: by 10.112.130.41 with SMTP id ob9mr10795471lbb.74.1415363234959; Fri, 07 Nov 2014 04:27:14 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp188942lbc; Fri, 7 Nov 2014 04:27:14 -0800 (PST) X-Received: by 10.68.211.193 with SMTP id ne1mr11710864pbc.49.1415363233439; Fri, 07 Nov 2014 04:27:13 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id sd1si8892367pbb.115.2014.11.07.04.27.12 for ; Fri, 07 Nov 2014 04:27:13 -0800 (PST) Received-SPF: none (google.com: linux-omap-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752057AbaKGM1M (ORCPT + 5 others); Fri, 7 Nov 2014 07:27:12 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:47094 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751763AbaKGM1L (ORCPT ); Fri, 7 Nov 2014 07:27:11 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id sA7CR4wC002649; Fri, 7 Nov 2014 06:27:05 -0600 Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id sA7CR4vr002776; Fri, 7 Nov 2014 06:27:04 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.174.1; Fri, 7 Nov 2014 06:27:04 -0600 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id sA7CR2bg008084; Fri, 7 Nov 2014 06:27:02 -0600 From: Roger Quadros To: CC: , , , Roger Quadros Subject: [PATCH] ARM: OMAP2+: gpmc: Get rid of "ti, elm-id not found" warning Date: Fri, 7 Nov 2014 14:26:59 +0200 Message-ID: <1415363219-25644-1-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: rogerq@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , OMAP3 and lower SoCs don't have the ELM module so this warning is annoying. Get rid of it. Reported-by: Tony Lindgren Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/gpmc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index 104bc2c..2334235 100644 --- a/arch/arm/mach-omap2/gpmc.c +++ b/arch/arm/mach-omap2/gpmc.c @@ -1394,8 +1394,6 @@ static int gpmc_probe_nand_child(struct platform_device *pdev, if (gpmc_nand_data->elm_of_node == NULL) gpmc_nand_data->elm_of_node = of_parse_phandle(child, "elm_id", 0); - if (gpmc_nand_data->elm_of_node == NULL) - pr_warn("%s: ti,elm-id property not found\n", __func__); /* select ecc-scheme for NAND */ if (of_property_read_string(child, "ti,nand-ecc-opt", &s)) {