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: 10007197 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 592C860235 for ; Sun, 15 Oct 2017 16:47:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3360520855 for ; Sun, 15 Oct 2017 16:47:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 26595209D8; Sun, 15 Oct 2017 16:47:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6BDB120881 for ; Sun, 15 Oct 2017 16:47:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BFA0C6E300; Sun, 15 Oct 2017 16:12:54 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf0-x232.google.com (mail-pf0-x232.google.com [IPv6:2607:f8b0:400e:c00::232]) by gabe.freedesktop.org (Postfix) with ESMTPS id 06E756EA39 for ; Fri, 13 Oct 2017 07:47:57 +0000 (UTC) Received: by mail-pf0-x232.google.com with SMTP id b6so507843pfh.7 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=cd51NXUGhrY3B0LBz1vxZqk5gTVyXLYeq/iGfxyt0RKa9/XNWINHqelbbgUy8OEWeB wGeITED3DsmYjn5d6ZMsIRG7vK7Qp6pClhFCzmXcImZlV/bF+0gq0IP9OHSMuaPx31D4 UqxK1OZd1rCKeY6cDArUZGXl3caG+1yaOmjnoz95182OfI8ThH5epU0VSQKoZU/78yb7 yilMZWho4IPJfsln5clgkOt1+zkGnqJhcBA/3T7w5csrEc2M1LzqIYiN+iz/VeFSJYyJ hKf9lHVQyC4kiVVc098hoIStqCY6dVBnSNR8OFpKnxpXaJtS8udBaSdd/UIe4cGjaPHD VvmA== X-Gm-Message-State: AMCzsaUd+b17uOp5EaaFlUY8iaGqxjnDZCl9TzcE1JkA44gOR3KKfQs1 T2/Jqu69tbRxePX95JOW3M9Hbg== 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 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 X-Mailman-Approved-At: Sun, 15 Oct 2017 16:12:36 +0000 Cc: devicetree@vger.kernel.org, Rob Herring , Frank Rowand , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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);