From patchwork Fri Oct 13 07:47:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 115711 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp432668qgn; Fri, 13 Oct 2017 00:47:59 -0700 (PDT) X-Received: by 10.84.134.34 with SMTP id 31mr643971plg.124.1507880879455; Fri, 13 Oct 2017 00:47:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507880879; cv=none; d=google.com; s=arc-20160816; b=KBPwe+a29FT1jfCEUsInuB4/i9Na/jYCFUYaZdg3pT+ISzzok9oJ06UHuaE55ep7y7 6Q7+X4NY+QeYPvCEkCEj4PsC8Yca1pIOknx2nBAOG10MPZLLIEAzrvx89sViML56wDe1 H0Jjf+hNY4HA5HTD3IiBMoV3vkP44z6bQgEDnazcVaHlm77kTFwBrADGYKVH3/6KExM4 PVAitj8OM6aVV2s8DdHeA+fLYqSYObZw9iNRccTjJXNSWkT7si0OBt+lELqMrQ+NmPi9 v8sIVGRxnEopv9KpTiHPlYWEfS9xbIbpdOBkXHQE9zJ2qIPpxNz3xL6oE/8DpBy9mULJ Wcpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=osnScFo4u2ctPa98dBF82CdxN9HZdjNai3c4kDMjpHI=; b=LlyXKHuSfMz4Y86ORDx5aeSjAK0iN6RaHyKU+uWnpzWLTio6IHr1IcKHdIbIliUKVi jlhb7LZCpwg+LDViboc3BndS5df9BBfhuqGRtmRls+g3w98Lro+tuTnzrcu4klla+u+C XQUOjhxZN1gAB9bDRY8CV0R1/mvNOjTkT9vSL/7WtKQyXmS/N4cOUBVP4iu3br5cg9XL +JI58kBaiGw7MAeWq285cuD7POSoV+BQn2jq0sNX9RJ0NW1BQRVDoO6s6G9eg4EuOiCU HbTp5GTSCU5th9yU4D0SmiBgmOnwYKa2zNECZVM2hiiyFBifMO9eGK1XyOPWsV9v3b4A V7TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=H1R3IbEm; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x7si234360pfh.594.2017.10.13.00.47.59; Fri, 13 Oct 2017 00:47:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=H1R3IbEm; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753403AbdJMHr6 (ORCPT + 6 others); Fri, 13 Oct 2017 03:47:58 -0400 Received: from mail-pf0-f175.google.com ([209.85.192.175]:55798 "EHLO mail-pf0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751095AbdJMHr5 (ORCPT ); Fri, 13 Oct 2017 03:47:57 -0400 Received: by mail-pf0-f175.google.com with SMTP id 17so8903450pfn.12 for ; Fri, 13 Oct 2017 00:47:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=7ghYxq5t20iHcAO1QPogvTEtn12Y0jOEqPrtmFAkTKM=; b=H1R3IbEmfxgwgSv83KOOilGJOqCnxDDQvyGwNoDcp55/PtHABdFWVAGBoi2X4mzycc pF2sxBGAEIpMvQTUMb6FecNf1jOfuXyl47+dtAN+M/WqNH+BnCuBjBVntAskSWe+LekV 5WDoHJZq3eXxWk7C6kFh1wDJlTCHIA7b1gYpY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=7ghYxq5t20iHcAO1QPogvTEtn12Y0jOEqPrtmFAkTKM=; b=VMct3h67B3au2gAbdQrWOKmSGOSbuAHvYJcQEu/0pOT+sPvndG7CXScjZs5KBiNjli Qfgg9DptCE301k6MET/x6bBMKFdtl6k1NDtGLsZEXy+Ip+I4oIYggUhjk+v0D8z1GI6b PhQLcjFQVkozl4bSqDFZ6ajNdNoZb3G7lfxdec8aGauampm4YFT3UPPYJI6KQKuuGrbV zzbqfckDiwT4+NSUXKCymO3RfnMvHUHnR9pEAmpQbDgwze96u5ENAENF4OzgQESHGBFN SIMH7twzf6fd8s7kKzdRPDAsUHu25K0YYB5LRGQ4lzy8c5WaYN6UoMkSAqvxemO/pJ70 6sVA== X-Gm-Message-State: AMCzsaX9eDTTZxFCGhKxpDoZBwWOGGmjojHSJSHmrGQkaEofsysBr78Y HVJkC3OnDz3Uw6dPEe2sdEs8Rg== X-Google-Smtp-Source: AOwi7QDMhbtb5GDdIdZ22cqMQrO6r2tJjq3vYCWJh3vl42orENrYrbUW+gBhpnulTleN99Bngwc9Ig== X-Received: by 10.84.252.150 with SMTP id y22mr611365pll.133.1507880877515; Fri, 13 Oct 2017 00:47:57 -0700 (PDT) Received: from localhost.localdomain (ip72-199-124-160.sd.sd.cox.net. [72.199.124.160]) by smtp.gmail.com with ESMTPSA id a1sm1138840pgu.47.2017.10.13.00.47.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 Oct 2017 00:47:57 -0700 (PDT) From: Stephen Boyd To: Jyri Sarha , Tomi Valkeinen Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, Rob Herring , Frank Rowand Subject: [PATCH] drm/tilcdc: Remove redundant OF_DETACHED flag setting Date: Fri, 13 Oct 2017 00:47:55 -0700 Message-Id: <20171013074755.14718-1-stephen.boyd@linaro.org> X-Mailer: git-send-email 2.14.GIT Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org of_fdt_unflatten_tree() already sets the flag on this node to OF_DETACHED, because of_fdt_unflatten_tree() calls __unflatten_device_tree() with the detached bool set to true. Cc: Rob Herring Cc: Frank Rowand Signed-off-by: Stephen Boyd --- drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c | 1 - 1 file changed, 1 deletion(-) -- 2.14.GIT -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c b/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c index 623a9140493c..482299a6f3b0 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c @@ -163,7 +163,6 @@ static struct device_node * __init tilcdc_get_overlay(struct kfree_table *kft) return NULL; } - of_node_set_flag(overlay, OF_DETACHED); ret = of_resolve_phandles(overlay); if (ret) { pr_err("%s: Failed to resolve phandles: %d\n", __func__, ret);