Message ID | 20240903153157.918185-4-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRB46X3S3AMGQEVL2LJEY@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 4E8AD3F360 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 3 Sep 2024 17:32:04 +0200 (CEST) Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-42c80412dc1sf24126845e9.2 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 03 Sep 2024 08:32:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1725377524; cv=pass; d=google.com; s=arc-20240605; b=T+DTRwkw9x0WcBhuXZivlOzdWdm1zkPnloB5UPs/5fBj+Ytvjh61TYI4VYs1MM8bDr Qy31nZxePlk8VR012KXd+ih6i8mO1tpgh1dnKPg3Fs9nqv45jLV152K2f0X5mkUtRaSE k4jHibZLD8g3ih1KnMi2abfgf6RWXy18QKLOLXj6OMPMSpkt6Xsi6p9y7j69sKwg/jew 2HSznWM/CvoIb32n82nkwSpnnDYCd3Bd9FtC3pFOipFSJUdKuVRQNzE7y+PsW7OTNC+L Bo8Jgvg1odG0dOG3IiFVSPoziI5fvLZ0meMRPqI9zBGgzt80wrz6ucWe4a/8kEvESdDR KASQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=RvLgs0HOrXEMp1XjUNUssN6CvLW8YgVLDzKmU21Ndjc=; fh=bt7s73bR2luCzX3GJ5Qik1IN1M8eH/3GvqXZmB4NW7Y=; b=Fcyg7WAzKKrwQr28NVuzn/b2mYiceTiwrkk7Okv1ujIpJDJVeUuJbZZ8+EcHrVlI/5 HcqwLbYvGCo1y2A3A9ri65Ks93P0ZsNOFdNHGq7SoPUu4RicWexWxNL/X6jaUKJqGWnV cTgDt7lMhuPxCba5mJ8Euq+G+yVHpIEJeluELdGOJ4AKwKuLtogH2pjnX7stmAomzlCl rY39B0XrlIG0FSTsty5fTIuKKe0qeuMRVDx0zFrktAsbU6rUOezz6JdRry3MceOjzAqg J1DbJNzY6Du9NXogSsOxWi7A4Elhaaqlat0aPJ1reaaT4S2gfj1vlxtcQ+cluN2mxOnz AUOw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ZO59yvaL; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1725377524; x=1725982324; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=RvLgs0HOrXEMp1XjUNUssN6CvLW8YgVLDzKmU21Ndjc=; b=nqc851NqI2ji4ivguR2hOoPkhbK7t5j5Wc9mZODsy3Ql0DY8oKxszqlC9kT6DfFssE u3XS3AFbre4uQo6ymbeRWxbuLDS/f1rJDlmGNGRdFlG4I/TR2veFkS6cBd79YWXko5ol ac+CMpdG2eyVj4lwq5OCWIyYNQD5ZeHl4v1zM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725377524; x=1725982324; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RvLgs0HOrXEMp1XjUNUssN6CvLW8YgVLDzKmU21Ndjc=; b=TFEfYRw/a0asscqD5ZXFkkvcn+4X2IUyHreXuzedg8c6RXBwiRbBJwPyvoyNUwTdJp JAcTad8l87y+EqNusI6jPV9P9U31FnSfhK1SgCuxT8us/lcLH7pp6iroJubircxpYhAT nNn+ZEhr93qWHEYbJ8YE9Q6G01tc6du+VO4UDd/xyZEzNB+vGY40P/X61QK2JklXfaHh zOEXrgPhizSZeQ/+QhUqcWsNDgMCjBTFkH0Ags7WMPrR8AHnfJggYT4oz2X7+Iw6lK6f d6qytZVhLFbTSKNiISHBAnG60eqhVc1BUayARxIPvOaBzwE0fkPFbUFfe6lmr+2OJk40 1i2Q== X-Forwarded-Encrypted: i=2; AJvYcCVfNh78Q1Ri1myfxLCJUAsl0fbw0tEzqG3sTjA7KPXjLSdyshGJEPHHoqrnbTgz/BfRxbey7FmJNLGWlEQ7@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YxDG7PLXXMVWZPQP64/JiWvC12DMEhtlEcA8kx5y/q4oFll000G wVcq0MCC1Uafqp4mEzL75ACnQtKSbSbjVjsnnsJqtCQxb5CAWRkTG+7zL4IiNTIK9Q== X-Google-Smtp-Source: AGHT+IGvpBQW0QnqrDMw87gs4g1/7CPmmUCwaMq97BlECUdBLo89aKDeO5RJdP+9FqzflTQl266Wgw== X-Received: by 2002:a05:600c:3595:b0:426:61e8:fb3b with SMTP id 5b1f17b1804b1-42bdc64e6e3mr85590725e9.27.1725377523933; Tue, 03 Sep 2024 08:32:03 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:600c:3596:b0:426:6eba:e1f4 with SMTP id 5b1f17b1804b1-42bb28403e8ls18132135e9.0.-pod-prod-02-eu; Tue, 03 Sep 2024 08:32:02 -0700 (PDT) X-Received: by 2002:a7b:cb95:0:b0:429:d43e:dbcc with SMTP id 5b1f17b1804b1-42bd835564fmr78885575e9.3.1725377522291; Tue, 03 Sep 2024 08:32:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725377522; cv=none; d=google.com; s=arc-20160816; b=HE0qFOn6/R81BFpOWJMFyOpPG8Kq+a87SQHMF/IZo8pmsK353a2EZc5Sij5D/3yKh7 76T+/QUwBNYxoNAEyVsdxNa4zyQq2ImbxQKYoJACWbG6pzPPt7OMyC0fRFvZCG0BIo9e gUMmz2VChivgr9fUsySMcF2K91MhSI+GYh/ja5w7fVsqmJSfBbb+XBM9AseI+7EymcIG GF/rx0KPtfiKXkhThY4ZyGcPKkkfXrKnqZ6E6yuEPhGhU4mR5Vct7PI4W4yNdohEgQx+ GI83l764zj/5BrMTFtkQvy6uD4EjAZWJ09vqHWAk7JRIxzaJsBDuQwm0W3P7wPe8j2kr t2mA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=XEQZPsX2VOc/YYlt3n/YuNQPwhUJv0qFQcV6Vk2muh4=; fh=FtQepR0uNoeKT2PVdKfTKOkvEYfwbRmoVE9BmlYw3tk=; b=dpTYPBJeOjSlRC4+r5yYvThhM6KRmvZzxPum7OWmjXHVDYdxLd9IU9hBlC1zDwPGMB VPxnu45mxHA2YLaPbtklEQxgRFnkIwgcTCzsDRZsSxsZ46YGKJGjWH3WddCo6raXLQ9B IGkne1LNgEA3sD5K/2tZV5A9Pf23M6ZC8dR+fIgkPNEkx0cLSkpjbf+06/W8Fdr4+pGG Qabf4YA8I5igkj/i+vKWsEAoiVq7EX8N4dekE2hYJ+Q+pEOKL6puZ2+3i5VBqoAHzG/U 9FXr2rW2I3uxXll+695dA6g0GzSk2z/Jju1m9VPct3TQ2uvls5e/66tHRUE+2TZmsq6a h3dw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ZO59yvaL; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id 5b1f17b1804b1-42bb7078248sor45141365e9.6.2024.09.03.08.32.02 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Tue, 03 Sep 2024 08:32:02 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a05:600c:3d92:b0:42b:afbb:171b with SMTP id 5b1f17b1804b1-42be48fa9e7mr74316525e9.35.1725377521698; Tue, 03 Sep 2024 08:32:01 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.42.65]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42baf1b0c18sm192963055e9.37.2024.09.03.08.32.01 for <linux-amarula@amarulasolutions.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2024 08:32:01 -0700 (PDT) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: linux-amarula@amarulasolutions.com Subject: [PATCH 04/10] pmdomain: imx: gpcv2: replace dev_err() with dev_err_probe() Date: Tue, 3 Sep 2024 17:31:51 +0200 Message-ID: <20240903153157.918185-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240903153157.918185-1-dario.binacchi@amarulasolutions.com> References: <20240903153157.918185-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ZO59yvaL; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
Series |
|
Related |
show
|
diff --git a/drivers/pmdomain/imx/gpcv2.c b/drivers/pmdomain/imx/gpcv2.c index 856eaac0ec14..374732335752 100644 --- a/drivers/pmdomain/imx/gpcv2.c +++ b/drivers/pmdomain/imx/gpcv2.c @@ -1356,7 +1356,7 @@ static int imx_pgc_domain_probe(struct platform_device *pdev) ret = pm_genpd_init(&domain->genpd, NULL, true); if (ret) { - dev_err(domain->dev, "Failed to init power domain\n"); + dev_err_probe(domain->dev, ret, "Failed to init power domain\n"); goto out_domain_unmap; } @@ -1367,7 +1367,7 @@ static int imx_pgc_domain_probe(struct platform_device *pdev) ret = of_genpd_add_provider_simple(domain->dev->of_node, &domain->genpd); if (ret) { - dev_err(domain->dev, "Failed to add genpd provider\n"); + dev_err_probe(domain->dev, ret, "Failed to add genpd provider\n"); goto out_genpd_remove; }
The patch standardizes the probe() code by replacing the two occurrences of dev_err() with dev_err_probe(). Indeed, dev_err_probe() was used in all other error paths of the probe() function. Co-Developed-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> --- drivers/pmdomain/imx/gpcv2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)