From patchwork Wed Nov 23 13:39:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 83676 Delivered-To: patch@linaro.org Received: by 10.182.1.168 with SMTP id 8csp2717699obn; Wed, 23 Nov 2016 05:40:35 -0800 (PST) X-Received: by 10.84.197.129 with SMTP id n1mr6830806pld.30.1479908435229; Wed, 23 Nov 2016 05:40:35 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z21si33849474pgc.193.2016.11.23.05.40.33; Wed, 23 Nov 2016 05:40:35 -0800 (PST) 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=@baylibre-com.20150623.gappssmtp.com; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938607AbcKWNkJ (ORCPT + 7 others); Wed, 23 Nov 2016 08:40:09 -0500 Received: from mail-wm0-f45.google.com ([74.125.82.45]:35596 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S938584AbcKWNkG (ORCPT ); Wed, 23 Nov 2016 08:40:06 -0500 Received: by mail-wm0-f45.google.com with SMTP id a197so78359751wmd.0 for ; Wed, 23 Nov 2016 05:40:05 -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=TBQCMDqHgNA8H0ok88a1YGm8kfIK0cAKzjFwEZYJ+hQ=; b=0GM7B3KklciYuCxYZSu2Oxgm35w6jZMVCfLcQd5PvDgN2opShI52kZhGdbfFsR4CtL vavy0UKkTptlMg7fNiPt+KfDbS6jkcEtuBIUqrU2fvRBz+0n+p21/yHMv9Vrr/0ykjJ9 Jk6FIvoFFrpUDVLGzfddQvwAXkx9Si3yICI786t1lS2vw5WajYDONWkQXur59qGz/MAU 91slbdazHDF2mO3LvzQ/aAiFK6lanV6QHYxlQeQ6Gnwd7IbCiQUDEZYieCmNvsFj+z+1 roq5m7J03zCHe1OG++R8KwdOmCdtbaVXWV+0pj8TsRDfljBt+7c9chqlVn1wrF9OWOgq jYqA== 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=TBQCMDqHgNA8H0ok88a1YGm8kfIK0cAKzjFwEZYJ+hQ=; b=X5w2aqBZVPIzPxpeU8Vj6+UStCZxbY6lNy0MQ7zcScFSpF0QNQyPKpDh1aypuAi+TU BolzZ5iYI2c98jiqpcKbmOlD6XiHgm8qkwEGsy0uaWGTt+q9msRk8ZGED28NJzFAYpjj UnnWAl1WhQs+7YL81JVsLyLdUJjww357sLn0/vJ5LxnDfLRVYSDr2QBDum+4s84nwLZo My+aL0G1Q8L6u7cDtGo8wPVL/1dJg3Z7NdfXDYlcA/3BZBQkWb7yI2gkkz7amA81071j AaZVvW25nIwqoZwqnazox9mokaEq1zkkyYCT7+U/OdcFlEylbxi6AprTi1EwHsqTnt89 KRUw== X-Gm-Message-State: AKaTC01v/pAwQGJd2rBA3I2uk9bocHq+c9+kvmPmdioHFvfSmAGZG3u2wgDX9AvH8wueiclS X-Received: by 10.194.26.133 with SMTP id l5mr3374044wjg.4.1479908405115; Wed, 23 Nov 2016 05:40:05 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id 138sm2835918wms.20.2016.11.23.05.40.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 23 Nov 2016 05:40:04 -0800 (PST) From: Bartosz Golaszewski To: Kevin Hilman , Michael Turquette , Sekhar Nori , Rob Herring , Frank Rowand , Mark Rutland , Peter Ujfalusi , Russell King Cc: LKML , arm-soc , linux-drm , linux-devicetree , Jyri Sarha , Tomi Valkeinen , David Airlie , Laurent Pinchart , Robin Murphy , Sudeep Holla , Bartosz Golaszewski Subject: [PATCH v4 1/2] bus: da8xx-mstpri: drop the call to of_flat_dt_get_machine_name() Date: Wed, 23 Nov 2016 14:39:59 +0100 Message-Id: <1479908400-10136-2-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1479908400-10136-1-git-send-email-bgolaszewski@baylibre.com> References: <1479908400-10136-1-git-send-email-bgolaszewski@baylibre.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org In order to avoid a section mismatch drop the call to of_flat_dt_get_machine_name() when printing the error message. While we're at it: fix a typo. Signed-off-by: Bartosz Golaszewski --- drivers/bus/da8xx-mstpri.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- 2.9.3 -- 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/bus/da8xx-mstpri.c b/drivers/bus/da8xx-mstpri.c index 85f0b53..063397f 100644 --- a/drivers/bus/da8xx-mstpri.c +++ b/drivers/bus/da8xx-mstpri.c @@ -16,7 +16,6 @@ #include #include #include -#include /* * REVISIT: Linux doesn't have a good framework for the kind of performance @@ -226,8 +225,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()); + dev_err(dev, "no master priorities defined for this board\n"); return -EINVAL; }