Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1326580imu; Wed, 9 Jan 2019 16:13:45 -0800 (PST) X-Google-Smtp-Source: ALg8bN4uGTsFGyyDAkvtE3/vae3n3+kzD0b0by7LTGdgHTWU1ptaOBzBFBr9xdnyHlfg8FURrUDs X-Received: by 2002:a17:902:d697:: with SMTP id v23mr8013799ply.261.1547079225853; Wed, 09 Jan 2019 16:13:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547079225; cv=none; d=google.com; s=arc-20160816; b=nlv7ojqzbXyMT2+5Zq6f18CAJich0T6DkCTy/hrYCwta7hb4RQPa4yqBmTgtZTDiSv iAv5crqxvzvmlkkaXdd753L+eihVv0qXcLCKrL8cFH1U6TA7yS9Lx4I0LuecShQTIhhU aZDPFsYkz5he/jiW3GHDnODaJC+hG1rnkvfe+gyvOJQK9nNOoM4eCOyeY4ZRRuhj38+G glv4279mJX2hFRcdB3FGgo8zap0abGeGEgm5vwEezR2KCeubDheAm9vIBvupKGsAaobJ oo3QfKssyI0Msxoc1LvqaOsJVjC/8MhZfllPnSJn/rrkZvSp4SYDoIStBoexRi8xMDcM v2fw== 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:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=4x5l+fpo+33i9L7joXlzfDhb4Fal6Vwhvi1SJC2mPM0=; b=RPqnosfhAyqbN4D6vryOq9WVHCf/2k/4vhVpoU9jXUs218w3m7ES3/HI0yu6n2By5U uQp+t7egrReMar8Tp2Aj6JoLe3vaThyh7W/1uTAyurmyACkxdi5t458rCRhJdgUrgMiX EaLgFPs9NGCkoQL7Exoh73SrEKXKHwsTI1148yEdyh00TM2nfpC6hkjuNUk6N8VW/hCI C0o2Wv+fxi0Cvl/8UomReiNRd7AutCnTPbhI95xafDjeaX9P+EZCS4CBOcJrSniQKSzv 9DMKWNr12i0FxY6/kDYUDUiVp8oSMPS8MWyKwVIlz1XFFSLgStC7IC9VozEiBsmxojHU FebA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q0hHgTI9; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d8si30766674pln.128.2019.01.09.16.13.27; Wed, 09 Jan 2019 16:13:45 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b=Q0hHgTI9; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726744AbfAJABN (ORCPT + 99 others); Wed, 9 Jan 2019 19:01:13 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:43244 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726624AbfAJABM (ORCPT ); Wed, 9 Jan 2019 19:01:12 -0500 Received: by mail-wr1-f67.google.com with SMTP id r10so9433018wrs.10 for ; Wed, 09 Jan 2019 16:01:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=4x5l+fpo+33i9L7joXlzfDhb4Fal6Vwhvi1SJC2mPM0=; b=Q0hHgTI9oRbwCDbgueOgWqaXLR/07CIuKCCK9dEoeb7PVbtO3WnGbrmUiwyn5Gsyl7 u1WR60YCUbxqDfBfVMwEsEmYG2nxUbHRFwRKKSFwDtLkcZyL0pndeHlrQpu5czuaSJAP fCV1H6W/n/S+KFsI2mzYytLquIghvr/T/PiCw= 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:in-reply-to:references; bh=4x5l+fpo+33i9L7joXlzfDhb4Fal6Vwhvi1SJC2mPM0=; b=QLeMZBcfdHkWsMSo8lsVBWTYkbe34WT4enN+3W9aw8XhGEuwgwwdyAH1pscUPUcSOk 9+rh9t05+NauXiTSZAGh6xiGt35dm7T72GLMo4/0DMdl/VMzDVLuSsQtdS8ZBWtMx9jj qNYWYdanc9yU8PdKFipZnJRzoDofafa/esi8/iA1OAoYDnolnsDcpCGEqsNwXG1ycKdj TCvtqqar3cXwEl1woIEBHQhCmPd2O994vvccr3kaxgMN1Ju40+J+kvXFmd9nX5zbAHVe 20ZrpCi7QgHBp9DGnnAzdIwVTVRCTSLO20/Vz4wn+YqtUHq38HoJEaw4fKXEGZ8ZYBNR bFVA== X-Gm-Message-State: AJcUuke7TqsKfzyxVdhnsNHFgnigakNpVnaFoSrbwZ59rEZjIGeX0nMp ow7yDF0Fx90itn0GqWGqq79jvnfAG0s= X-Received: by 2002:adf:ea11:: with SMTP id q17mr6590534wrm.328.1547078470466; Wed, 09 Jan 2019 16:01:10 -0800 (PST) Received: from localhost ([49.248.171.190]) by smtp.gmail.com with ESMTPSA id l20sm123597548wrb.93.2019.01.09.16.01.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Jan 2019 16:01:09 -0800 (PST) From: Amit Kucheria To: linux-kernel@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, viresh.kumar@linaro.org, edubezval@gmail.com, andy.gross@linaro.org, tdas@codeaurora.org, swboyd@chromium.org, dianders@chromium.org, mka@chromium.org, Zhang Rui , Daniel Lezcano , linux-pm@vger.kernel.org (open list:THERMAL) Subject: [PATCH v1 1/7] drivers: thermal: of-thermal: Print name of device node with error Date: Thu, 10 Jan 2019 05:30:50 +0530 Message-Id: <52c46a3a4fd1674295d9c2577be87d73ce545044.1547078153.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Amit Kucheria --- drivers/thermal/of-thermal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/of-thermal.c b/drivers/thermal/of-thermal.c index 4bfdb4a1e47d..5ca2a6b370ea 100644 --- a/drivers/thermal/of-thermal.c +++ b/drivers/thermal/of-thermal.c @@ -867,14 +867,14 @@ __init *thermal_of_build_thermal_zone(struct device_node *np) ret = of_property_read_u32(np, "polling-delay-passive", &prop); if (ret < 0) { - pr_err("missing polling-delay-passive property\n"); + pr_err("%s: missing polling-delay-passive property\n", np->name); goto free_tz; } tz->passive_delay = prop; ret = of_property_read_u32(np, "polling-delay", &prop); if (ret < 0) { - pr_err("missing polling-delay property\n"); + pr_err("%s: missing polling-delay property\n", np->name); goto free_tz; } tz->polling_delay = prop; -- 2.17.1