Message ID | 1479811311-3080-3-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 AF51F600BA for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 22 Nov 2016 10:44:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9340B27BE5 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 22 Nov 2016 10:44:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 87BF127DE0; Tue, 22 Nov 2016 10:44:43 +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 8275727BE5 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 22 Nov 2016 10:44:42 +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 1c98Xl-0002He-FN; Tue, 22 Nov 2016 10:43:17 +0000 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c98Wr-0001G4-E6 for linux-arm-kernel@lists.infradead.org; Tue, 22 Nov 2016 10:42:22 +0000 Received: by mail-wm0-x22d.google.com with SMTP id t79so17736462wmt.0 for <linux-arm-kernel@lists.infradead.org>; Tue, 22 Nov 2016 02:42:00 -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=os99jSayQP8VUwv+M3wVhekD/4vYQ6BBX/IFW3tvLec=; b=KKBJx+5dIIU3v7p+yuZyy5e1asFRcGzaj2zz8/MAxKbQ+8piGECYVrljZ2oLJpW/Ns HgLsWNpXUFiG3WtETiwYPud6z/tMg7A6z4BM1yRmAcO5M7fTWazaa23FnkHdRBgPFWnc sfpkP/v/mEeOkbuqQKy4RjrX00iGC6xpzjaosZaGwxRDokttexeIvfvja2izuKjagwly IPX0+oMj9gfiWKvLpb0z1+iognyH8xM30haRsxefOxjaGw28jAY1tqL8ew8h5fkGXQkt mTcd09C06u9UPhQFXGzH0EmGWuJ5Pd+LBWU6i/U4xtlwcrKvgRwSFcYD1FQA87cJDjE+ 1LgA== 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=os99jSayQP8VUwv+M3wVhekD/4vYQ6BBX/IFW3tvLec=; b=PTVG0Zgfr8XcwrEPvdzDcLc7u7gxbVuVqX6qpudoZdFdjMlm7a2rSCkSFnQ6pMz9bb A0Kbj2sK7tPBzwh1lZLypqqLqCLGzBKR8PyItazPZUUniX419Ct/xOW5sUcUC+7/AhVU 3QpcYU83c10ur01DjWK9umVuClo6ZS3ZRg17CiOvgNNhTf0mNDnf7q+DkI8eQdVeEEmQ 6rT/qMZ/Q3N2noW9r4ACAQ56/4ymEAJ5DqQ0sD9cHbYp1ThCEUkz+eUb1U0jOBcszp/F XIjjfT6PdSPr3vTT5tJAw7Mpgs+c/ubp7j05OVko3N4WjFvSmfFxq/PK3IcFpfhMqrxc 7yPw== X-Gm-Message-State: AKaTC03FbLkxpOY5idKYD7DiAZ+ULip4IkWzPl1SV+AMCFz/tU6fO4ox4QNscMgpETRNrQKL X-Received: by 10.194.43.73 with SMTP id u9mr13360580wjl.109.1479811319442; Tue, 22 Nov 2016 02:41:59 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id u81sm2228926wmu.10.2016.11.22.02.41.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 22 Nov 2016 02:41:59 -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 2/3] bus: da8xx-mstpri: drop the call to of_flat_dt_get_machine_name() Date: Tue, 22 Nov 2016 11:41:50 +0100 Message-Id: <1479811311-3080-3-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_024221_735735_5E0A056E X-CRM114-Status: GOOD ( 11.75 ) 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/bus/da8xx-mstpri.c b/drivers/bus/da8xx-mstpri.c index 85f0b53..41cbbe6 100644 --- a/drivers/bus/da8xx-mstpri.c +++ b/drivers/bus/da8xx-mstpri.c @@ -227,7 +227,7 @@ static int da8xx_mstpri_probe(struct platform_device *pdev) prio_list = da8xx_mstpri_get_board_prio(); if (!prio_list) { dev_err(dev, "no master priotities defined 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/bus/da8xx-mstpri.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)