Message ID | 20180905193738.19325-22-robh@kernel.org |
---|---|
State | Accepted |
Commit | a691240e36e3f67f02936a3b68f8e2369ac44cb1 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp5340435ljw; Wed, 5 Sep 2018 12:38:08 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdar2hBvDdyaO/vx4tEj6xvSFK6ou/y6YRmppe1k5K5Aq2ntzRmwr+F7/EcKC8+uqxpIgcXt X-Received: by 2002:a62:59d5:: with SMTP id k82-v6mr41824176pfj.143.1536176288176; Wed, 05 Sep 2018 12:38:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536176288; cv=none; d=google.com; s=arc-20160816; b=wuG3JO8KagCKl800TYQIGqVQEL+mgF47UQvvwnCYiLVelNwm9Ii1wrI4hSrUv6Faan WkRfBffhYs59d58uRldpEhm08NZ1KOLc7ZxqA74mK1i1Tgsnr9B5L2/Ket+LOlLJ3myE P0M6LHniGQqx209stRoVL3M+kQf8eedCndAdu/t+GWNCaRfQwoHFFyBBL64r3mRZhFqH yKmM5q1nbv3sfJPvN7z+42FaCAOP2imchoa4jELlItlTKCcszN82lTpyBfahSk5mxua/ iyXRLQBfy9+CK12XBmFzN91DdROdnLDNPOcpvDbDqeUTDTRxteACeBNo6kczG7bPHlWc MSPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=cs4PYL4EAbXhqa1/+qufL34SyOAY8TU08a3FgFNoxjw=; b=vIR5wQMbBvuPdZi8VeCNl25kRMtwGjg4xDqihQE4jrOByXH1Ap1Q+zOJIl1HHd5b2W pTDWwaYtuDuCMq1twNjHwAR8gTd/5n3m7CykJwDayMSSKdznHyleblbbZgPeorY8+BnD Wvq0vevSFJIJPpAQ50uAVFij3l7mdhBMO9kZfna80f1uDBzFaDlpK8kTypSgXAgGsJxw rUL45+27G7AareP4MIsnHsd1cBkl3c5slTExhAKYipsNkYOH/8RlF5jKkjIlFtURD8i7 M7KGt5C0yqfGVApMa/oI354JYz0pvDrnlfovO21YucxUDa20yhGZffsiNPXYcA+6SU0f q02w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h8-v6si2971664pli.14.2018.09.05.12.38.07; Wed, 05 Sep 2018 12:38:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728280AbeIFAJn (ORCPT <rfc822;igor.opaniuk@linaro.org> + 32 others); Wed, 5 Sep 2018 20:09:43 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:38208 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728264AbeIFAJm (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 5 Sep 2018 20:09:42 -0400 Received: by mail-oi0-f67.google.com with SMTP id x197-v6so15934019oix.5; Wed, 05 Sep 2018 12:38:04 -0700 (PDT) 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:in-reply-to :references; bh=cs4PYL4EAbXhqa1/+qufL34SyOAY8TU08a3FgFNoxjw=; b=NlR3W54sTK8/O9n3dOhM3yPvMPjexCEXfeoNeqRVI5HY+48hUXGG7fwlC9V8YCfJkE IjgAxQMUZ34bRe6NERQoxkoeD+ZoEbOcBR0c++BWd4Hp6IrGj7n/VaANL+d0LsydZUmj 4+wr1mV9/qM4ZYHSu6Fb1wo2zB8W/brapm5fBOLUib5uLIeswy2y17cwf/7LjN7rt1sp jRkbaG7t54ZzHmGvMV9DkMGCC/j9N4GZwUdfq42coo2mHeJB3aSo6tl5kKE4vIgZh/2w kP4bxyr7PpXxOyPAFt6dhmjB+rPgFyeOGpBp3GyM8cAyMoSORCNF91+U8f+JyAeOCpkc XYzw== X-Gm-Message-State: APzg51DUurTojTThhXdAOkxy1lIoOGTT7wCFAxKgQ/wBOKP7+xigVcLe 95cTeBqLzf3gmdEVp6AphImvT7E= X-Received: by 2002:aca:b904:: with SMTP id j4-v6mr33255174oif.89.1536176284356; Wed, 05 Sep 2018 12:38:04 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id u21-v6sm2296053oie.22.2018.09.05.12.38.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Sep 2018 12:38:03 -0700 (PDT) From: Rob Herring <robh@kernel.org> To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Timur Tabi <timur@kernel.org>, Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH 21/21] fbdev: fsl-diu: get cpu node with of_get_cpu_node Date: Wed, 5 Sep 2018 14:37:38 -0500 Message-Id: <20180905193738.19325-22-robh@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180905193738.19325-1-robh@kernel.org> References: <20180905193738.19325-1-robh@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/drivers/video/fbdev/fsl-diu-fb.c b/drivers/video/fbdev/fsl-diu-fb.c index bc9eb8afc313..332a56b6811f 100644 --- a/drivers/video/fbdev/fsl-diu-fb.c +++ b/drivers/video/fbdev/fsl-diu-fb.c @@ -1925,7 +1925,7 @@ static int __init fsl_diu_init(void) pr_info("Freescale Display Interface Unit (DIU) framebuffer driver\n"); #ifdef CONFIG_NOT_COHERENT_CACHE - np = of_find_node_by_type(NULL, "cpu"); + np = of_get_cpu_node(0, NULL); if (!np) { pr_err("fsl-diu-fb: can't find 'cpu' device node\n"); return -ENODEV;
"device_type" use is deprecated for FDT though it has continued to be used for nodes like cpu nodes. Use of_get_cpu_node() instead which works using node names by default. This will allow the eventually removal of cpu device_type properties. Cc: Timur Tabi <timur@kernel.org> Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Cc: linux-fbdev@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Rob Herring <robh@kernel.org> --- Please ack and I will take via the DT tree. This is dependent on the first 2 patches. drivers/video/fbdev/fsl-diu-fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1