Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp267944lqs; Tue, 5 Mar 2024 01:06:46 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUP87eHEYkfaXwIW6IA2lf3U3vRMDGfIYqOgleNfyvj6LYRC5AjPWRDdWBj04uwAjAfIxFY0YVhc7yTBbj39treQb1icrBibJgTkHIzjg== X-Google-Smtp-Source: AGHT+IFEZdd/VHNM+PPhRETXBnlOXB5uwd6BM5YJJ/dDycQWwBSLXev6EE5fPWC0ax4P5zWlBDV8 X-Received: by 2002:a2e:b172:0:b0:2d2:4108:72a with SMTP id a18-20020a2eb172000000b002d24108072amr802139ljm.12.1709629606225; Tue, 05 Mar 2024 01:06:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709629606; cv=pass; d=google.com; s=arc-20160816; b=TmzBu12v0Dg248/yT8hovmagGSfBeOLLX7i2vZQ5SsYOfOHdcIL0FNOXPbRXQCWxWd 8Rxh7Kkr/Vd1ZytoXPxDhhCvhnW0QxYLkKuI7+Iy7ARAGPQGuyJKqEo2WhIx3ZGcUdVX THwyuNUsDSWjZUb0D5VwpFZMudk56VeYuDTuAIuHRvP9qpqkdr0jT/hi3Jb4FMkI2NCS xvUyYkqYlqkf8ZJ8egQWVTHYOKZuNzIG+1USeSqb40WoWQoNcUDjBJ0PwpQURq+vl7Zy DhQHkGkOWJFmUfqC1u4caUUUWQ/icq+2Ky0zZg5s9yYLaCNPXEYrNGfcIzBkObF+qRhv t1Hw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=iVyff6pSUeH7eXbrIj/i6abg3oo4j85mjc8PEacBjjE=; fh=dDKEktgJSp3i329jbjWj++b8eBL7L77Nz4X9IPFYThA=; b=Io5neeWqkvPhthv02Swt6BFj3Mw2zabggT4szhzusR/xu9Lmx/mKwvtSYhsMCcI4cc WBf9ww4ykQSkzj39OqCpoLJZUej3c2bpdMAJiQKXr2kAHe1T9yB7SG707mv22OBvpcCx W4PpX/4Lot2BqdryGJ+lGVfcnr8xZiXjfHLjwEVhnYmSO3SnR1+dFnkl74/BM6HWnHJ1 jGv6Zx2RgS3HeoJgCVA0itcCtDt17LZH8o+Z2QwbcO2WErjhHTu7UmSt5BXqkOtYGRLv DxCAo7+Pj1AGM2Yo2/GJzt/ZIN4xEFyyYp8WOoy667mQ9iuSvLvhnmSLN0ZUzah/34wB U26w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D2bBAjaP; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-91954-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91954-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id k19-20020a508ad3000000b005672a56cbfdsi2347897edk.332.2024.03.05.01.06.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 01:06:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-91954-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D2bBAjaP; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-91954-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91954-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 744201F21258 for ; Tue, 5 Mar 2024 09:06:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4DAA2548F5; Tue, 5 Mar 2024 09:05:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="D2bBAjaP" Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D766C548E3 for ; Tue, 5 Mar 2024 09:05:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709629540; cv=none; b=bG4Wiugi359NGE/ESOW6aRnUqw6h7qbKnCUuW44qmx4PLLIxVpzI1F5GYYsLbJac4OKZKVqeYuuswiPIQIgcPC5GOfv5FECJ+VpaBBcnBGOr8SVQ0dHx+OguqJ1HwScOTlrXclWwcA4DFgfmgb3n5lFAe7GOPdQATUPvlSCUkzM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709629540; c=relaxed/simple; bh=Hy//Hzvgbunb5xsN63aD2HSruKb+IayJoR8TyJL4Oto=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=U+H40EiJals/HQJ2xwXXaRIbcjcR1sx3VAy1SOX4fWe5JXV8Ga5LtA97eh4LsfOybh7PtIXI91Fdhqk/K0w/lKLBLh3oXi5RxMe6yMv4jVBwAxrJ8COYxT4jPJWWRpWBfxj3S0IPN8R9xQ9kji6d6lCkJt9SNrV8QyJgQJ4mLzc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=D2bBAjaP; arc=none smtp.client-ip=209.85.128.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-412e993a82eso3590985e9.0 for ; Tue, 05 Mar 2024 01:05:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709629536; x=1710234336; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=iVyff6pSUeH7eXbrIj/i6abg3oo4j85mjc8PEacBjjE=; b=D2bBAjaPpwq7O0TT18Q8eNV6IB2CMZIv1+EPS+loG+bcNp+AFP+/XOzN7n4RTAM37z lDH6LVyCvyw1V1zyfHwbz+1yHzyunjboQicGLK6hxAoXjUUJ6usER1IRNgqWUKe6K3Cj DiKN6IeKlayNEOpBlDlkKEEqAZcmXwkDFclVZZmgATBioSYDtqdcyOXrXgf4l9NUrruY hnu9iVH0/8YNrxntot0G//qlmzZTfM5WUDwEeR8kHMWJXY6lVPCzo0Nu2I3V4tbNxKs9 P/QhqJHqKDmI5fhMoG3+J4rBUyhNb37NNNoTEZ/gwIE2hu8OcKFr9vAhTanVPCSes3T9 vo6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709629536; x=1710234336; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=iVyff6pSUeH7eXbrIj/i6abg3oo4j85mjc8PEacBjjE=; b=o2ba3/mjQg72PQTigjVnEhC/YcQyIU9VoS5A+xafW6ftvpT2r3y2TBF/2L49AToFyh nnkIuXcG5OyFwO0SwI5bn+Aia9hDzX4DPe9pja9LUrQ18rhlshZNGJPmKwudg1YQAH0b lCtu76iwnStVmPyCpeevPOmDKQr4wVhIZ/wvaTkeMGFe9vluG2XuhSf+oCypSERgB1iu iPLu9f9igx8PJyYf3GLBvbR/E1g6ZSRWUlfw8IYEpMlRcMnlVYIsL7fLh9uFJ49l95s+ D4vmDEtU3th4Wyz4ZBa5eX9ADLE5bwMFWnnfF0ky/KBcFS8Dl672Xch52CQG8lprfu/R 0PQg== X-Forwarded-Encrypted: i=1; AJvYcCWpjxczFZH51oKY+ko+/kGmTPgN5ji53tcj/IAXBRpFe9ZyyquV/tplffwr4GD8VsfHzNurU3gr8IZqlBMgTfm0njrRn6YPDMdqCI0L X-Gm-Message-State: AOJu0YxKPIlHz5otNt9lRNRTF+t8KyGixhSpTC1EGUoOCmXEB1uOnsKX yF2yGwRQRkAYDLqpqRECyNAUa9fhsx4eNNr2UAR+4KlVeaMTmo/Ow8RwK6PDL7U= X-Received: by 2002:a05:600c:474c:b0:412:c9e5:b2d7 with SMTP id w12-20020a05600c474c00b00412c9e5b2d7mr7368975wmo.19.1709629536061; Tue, 05 Mar 2024 01:05:36 -0800 (PST) Received: from aspen.lan (aztw-34-b2-v4wan-166919-cust780.vm26.cable.virginm.net. [82.37.195.13]) by smtp.gmail.com with ESMTPSA id ay37-20020a05600c1e2500b00412e7dde7d9sm3637450wmb.15.2024.03.05.01.05.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 01:05:35 -0800 (PST) Date: Tue, 5 Mar 2024 09:05:36 +0000 From: Daniel Thompson To: Krzysztof Kozlowski Cc: Lee Jones , Jingoo Han , Helge Deller , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/7] backlight: gpio: Simplify with dev_err_probe() Message-ID: <20240305090536.GJ102563@aspen.lan> References: <20240305-backlight-probe-v2-0-609b0cf24bde@linaro.org> <20240305-backlight-probe-v2-1-609b0cf24bde@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240305-backlight-probe-v2-1-609b0cf24bde@linaro.org> On Tue, Mar 05, 2024 at 09:11:56AM +0100, Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and also it prints the error value. > > Signed-off-by: Krzysztof Kozlowski Reviewed-by: Daniel Thompson Daniel.