Message ID | 1479811311-3080-4-git-send-email-bgolaszewski@baylibre.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 656C8600BA for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 22 Nov 2016 10:44:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 461F3284D8 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 22 Nov 2016 10:44:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3AAFB284DA; Tue, 22 Nov 2016 10:44:23 +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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C2E5A284D8 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 22 Nov 2016 10:44:22 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c98XV-0001xY-5Z; Tue, 22 Nov 2016 10:43:01 +0000 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c98Wp-0001GE-CR for linux-arm-kernel@lists.infradead.org; Tue, 22 Nov 2016 10:42:20 +0000 Received: by mail-wm0-x236.google.com with SMTP id a197so17876318wmd.0 for <linux-arm-kernel@lists.infradead.org>; Tue, 22 Nov 2016 02:42:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Y4bzrusUDlpSZ1hwF9KeuU8y/5O9v6tg9sQQugUvtTE=; b=NYnguCygVuQY20yXIpPk/9H2sf7dD7ar4/TovhWsFTJ7W0Jc6ubWg/0QlKIDKKOYgj 77yvoBl37A+WVSafiNq/5F9XgvQmypRQU1U3r6xO5IuTBP/dxtLy9f6cMxttOffZYfA5 5yC8xB3yQvY6pc74/oRpSPsV4Daghypj6yDiEFqs8mTSeOBXU75r4u+UpY+tgiFt/UF+ qn2hpZJ09QQ7LfdUS1leAKP1N/0QY14LPxz7k22E1rhFzvM/mJwwmi46+4WoJmUZEDQZ +MzThp5QKY3HQwDHvNmNq9wASpZNM4MhIpLwZ10/OfoKyPB+MjFawkGYSgq1Ihtc/W1d sX+Q== 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:in-reply-to :references; bh=Y4bzrusUDlpSZ1hwF9KeuU8y/5O9v6tg9sQQugUvtTE=; b=KaXaa++RNHUcHvu7uM0F05PK3pMmtPJ4ywvJEZcP5WHq7k8CbzCM7CzX7lhkUxn0e7 PDB/TPW7EG1MIn3I7IO7A5kbgQveRWhmUb0L7VFUQHtJNFX3Jj26KbPAyWycUa2I9FR9 SwDkj/lu1S07wYQfOrY+n7aBh1Ht4KkSQlrgCuYNVj51Udvj5dj2umvdZIas5S14spCP jL3T2e2iGRX1WXhO4Rf9YYR57pgkoo2IlR1F2s+/xSmuYZ0RPXNJJtxBmMgm+p880BJT HGFHG8yrHBCpFFJd/nczJsC2qXu80ypIgVpCbvUjS0PbUu6HT08B7VPcDRaabD+qvQyq 3tcA== X-Gm-Message-State: AKaTC01FaKAqYvbgzJ2D+XWR02F9RW7rOVOhRYFgs4NRn4U4zUQYOwm2LWPKZjKJ7bxyMfNk X-Received: by 10.28.183.215 with SMTP id h206mr1898962wmf.60.1479811320505; Tue, 22 Nov 2016 02:42:00 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id u81sm2228926wmu.10.2016.11.22.02.41.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 22 Nov 2016 02:42:00 -0800 (PST) From: Bartosz Golaszewski <bgolaszewski@baylibre.com> To: Kevin Hilman <khilman@baylibre.com>, Michael Turquette <mturquette@baylibre.com>, Sekhar Nori <nsekhar@ti.com>, Rob Herring <robh+dt@kernel.org>, Frank Rowand <frowand.list@gmail.com>, Mark Rutland <mark.rutland@arm.com>, Peter Ujfalusi <peter.ujfalusi@ti.com>, Russell King <linux@armlinux.org.uk> Subject: [PATCH 3/3] memory: da8xx-ddrctl: drop the call to of_flat_dt_get_machine_name() Date: Tue, 22 Nov 2016 11:41:51 +0100 Message-Id: <1479811311-3080-4-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1479811311-3080-1-git-send-email-bgolaszewski@baylibre.com> References: <1479811311-3080-1-git-send-email-bgolaszewski@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161122_024219_673012_C75BC576 X-CRM114-Status: GOOD ( 11.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: linux-devicetree <devicetree@vger.kernel.org>, David Airlie <airlied@linux.ie>, LKML <linux-kernel@vger.kernel.org>, linux-drm <dri-devel@lists.freedesktop.org>, Bartosz Golaszewski <bgolaszewski@baylibre.com>, Tomi Valkeinen <tomi.valkeinen@ti.com>, Jyri Sarha <jsarha@ti.com>, Sudeep Holla <sudeep.holla@arm.com>, Robin Murphy <robin.murphy@arm.com>, arm-soc <linux-arm-kernel@lists.infradead.org>, Laurent Pinchart <laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/memory/da8xx-ddrctl.c b/drivers/memory/da8xx-ddrctl.c index a20e7bb..179f505 100644 --- a/drivers/memory/da8xx-ddrctl.c +++ b/drivers/memory/da8xx-ddrctl.c @@ -118,7 +118,7 @@ static int da8xx_ddrctl_probe(struct platform_device *pdev) setting = da8xx_ddrctl_get_board_settings(); if (!setting) { dev_err(dev, "no settings for board '%s'\n", - of_flat_dt_get_machine_name()); + of_machine_get_compatible()); return -EINVAL; }
In order to avoid a section mismatch use of_machine_get_compatible() instead of of_flat_dt_get_machine_name() when printing the error message. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> --- drivers/memory/da8xx-ddrctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)