From patchwork Thu Jan 10 00:00:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 155104 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1281106jaa; Wed, 9 Jan 2019 16:01:13 -0800 (PST) X-Google-Smtp-Source: ALg8bN7BRta3QaKTHmPUNT0h4Dtl96n6CCyhKfmP0mMdPxbZ/+C+8Dt+ZaSXc40a3np+FIpDz89w X-Received: by 2002:a63:e516:: with SMTP id r22mr5170486pgh.256.1547078473340; Wed, 09 Jan 2019 16:01:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547078473; cv=none; d=google.com; s=arc-20160816; b=03AYDzSf3MYfX1MpGXYyDIG5APoAxMXna00xpp75tuhGDCfaUV7Z2gJ3mxDqbelHwC rxugNOEdTTLjCE/EiIl2fJHkCnrd7gS5HAUz/fVIq/bpeMz2I79GZwiUTei0n08eiLGk lnrPooPGW3OY2OMBuVKLlqJxKwviyXRhmHIxR65AOe6UN489yx7zxvLhaSOagAncoSLc UTnHGwQdDMXIh0FB/9cMzLq5a/e77ATK0UUAGtR9I6vbxAYVFmVhICY+9vQI2E4+mLyy rBG1iGl4EmdbdKkES2p3hcITib3s77tuxaqNtwfZaa0kL43goJ7hZZlFxyjmXy9GitPw lYCw== 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=U+59YKAvIjboFJqRw1NmXOj0qjxVkhjbHVUDwEBcxWOFOQ3DaxcR2+wgSRGEw54uYk bOej9K3d6XXK2Tf1umdsjncNUUPohio5nqvE2PX4DusHPdw2+AvkBQQWgIYpoyqUM7dz /RqIsGdZvfH3kTIufb/F3Ip8mLWsbFxB4MOUtvkqPOru1St+toeTDqqAlJ9rNthNL0R6 OT3aj6AOUnPFKbW1tK0y1rPJHZ4dHSNxdLOkA3YgI2CPgJuib+bj3z1MoslqGkHghBMY I5KttIqE27qjYUwdp0SzTUjlmHmzZJatAB2ITVSPhx5ef34BYDNMhnw28A69ur5x8ZNF nXEQ== 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-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 e7si8944496pgi.263.2019.01.09.16.01.13; Wed, 09 Jan 2019 16:01:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1726653AbfAJABM (ORCPT + 15 others); Wed, 9 Jan 2019 19:01:12 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:42937 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726470AbfAJABM (ORCPT ); Wed, 9 Jan 2019 19:01:12 -0500 Received: by mail-wr1-f66.google.com with SMTP id q18so9428538wrx.9 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=QDtoXNzty7dw7VX4jpUQn3xBA3Rz9t31U0HnzucjSG1kwcik3k4+/k9+RxCeMUiX6c PRPmua8dAzhoEWb/E+QS62WPvSIoWw9hFCALDwPjypV0i5f44YDAR1oTW1BQogjWRSBn B/0U9qHvfn514/3KHujEogjCgk+ujUb1vjy8RwHMyZnc4/26udOiHe7WUZ7FwZtK+KSr A0HFxHFeRDNBzmanuO0NvkkpMs7U/+qu5JNVKImlI9tiMtbpRuhqGggcnPbs8b6T1MLc Cgdckj1Q11BejjTQJT1QM6rknKZVorpA2mcHOO0bxyb/pLcMNAJrHQV9p/HCeEbFDnbO 0BJw== X-Gm-Message-State: AJcUukflNHfGIaQyJDH39ObLX6rWHaCuXnY2OhUHo+Gnc2pm8QI7/WsW rXM6M024lV2Ze2k6sNu8KloINA== 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Signed-off-by: Amit Kucheria --- drivers/thermal/of-thermal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 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;