Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1142356lqb; Thu, 30 May 2024 01:09:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVH9m1GCJxPs6hDHz7zgYXDzNLmBoaqo8nEwHU3b5ez3PXdk4qXMrk/TSTw/QZZzX9z/KnvnXNNzUXyO2eQBdcJoGfSBpR9fJC2iiLRxg== X-Google-Smtp-Source: AGHT+IFFwOQBKoh5UkwUSj/NNTn9h42icVOAczpEyLXKqyF+2ttE9FwlljBr7pN0axrDNcD5ny5a X-Received: by 2002:a05:6a00:61c1:b0:702:315c:b1d6 with SMTP id d2e1a72fcca58-702315cb628mr1076736b3a.1.1717056568599; Thu, 30 May 2024 01:09:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717056568; cv=pass; d=google.com; s=arc-20160816; b=bSuyT0rkgzwcBhIjuY9J0DqLeCLbfp/nk0HQbzByDpBPs768SwWkzNIWl/4ZL0mmSl QuoDPjTDdFrZZCysjfKVZjK+m4rUpe5v4VhI0/mO0qWl+UAtmLemKIAMP3j/JI+U73Du gGsFEL5gPVVF3FInobXc2Zpbc0lwVQ037pJ7FTip/qWov45yMX2T1rHi+IRDPWSgaQXv DtQLtwXdhA6pMrb9DgtsaMrXcDRPRTHmN8zQ4xm0AG3vsiWVpfvA/YO53Uc8HW4IL0ZW AdOJVZkt8v7D9Ho8K3DE+w4CkyTR45eRZhLendmHbo7HEd3VctSiPvauejR0YN5qCPTm 2ArQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Ag4SOjkU6AHDe3TT7hMeQ1FRovWpVNttYij7mBm6uL8=; fh=KUuPOpw0IyM8pbeqiieZ62jf/DwruDIjwoIl6lgdu1o=; b=PfcJyvmVWYvEAU68a1cN5w5ap5ecOWpBQSoWINzPYd5dhqAUMPfcbEJlc/JwL46RHT ujZHZ07KuGHyOudXT5mvT6E/RBIUVjijfmuXCQn+ApitIgE4xa0N6lXFlR++k+mNZBBG jdCaEwDwCRUajrXi0V8lJxThnIMOTFQSeOv60mlBrB4pC7cvX0kT1JFav/MvWfXUTHjO 6sAlkZGwNKvnGOYoLm1qen2mB4K9Qr5/VWDy4dQH2ii407x/ONiDsq2J2ZDXBW/M4hnL Sths9ntGaAf5sonenqZsGxEZJQq995BojvDMct8VCJKwWH8vV67kD0qxH1Yf5ujNB4VO d5nw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e5dDGIVS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-195044-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195044-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-68229d0d1a9si11692966a12.648.2024.05.30.01.09.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 01:09:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195044-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e5dDGIVS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-195044-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195044-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 39D93286E2B for ; Thu, 30 May 2024 08:09:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6829814A62A; Thu, 30 May 2024 08:09:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="e5dDGIVS" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 80A7D147C71; Thu, 30 May 2024 08:09:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717056555; cv=none; b=gkLPWakPl8zrYRSsskLN8koiYs4iYMzyhKinfkS7jgAznWCJnTS46Q5rRzJnpp/Ryugqpf/gwfNmAjuRHZXF75YqhZlRlhfjJDSVTkZrip5uUOjs+RFQ6RUMSNDLrPlSCbthbzL9meyf/012rbKfN692evM3nF8DdYUEisaF/4M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717056555; c=relaxed/simple; bh=hKn7oFMCnOZVKPyympTibzQkvUmq/EUgiG5cwPu4Avc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=DyYfSJU7Xt29vBUfEE54Pxm5ud9vwIyV1QBbpA444waaDAg9KjQOjQi2ndEdzbN+GYuK0XETPHnElnHq4jvjvOV85K+7MQ70GqMYxNnC/Xn3OThSL1c/m2LFlz4iFdukvX1apsG8tj6qwkJXh4cZqTgStLHnmOpctjQlwVT+//A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=e5dDGIVS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C8E2C2BBFC; Thu, 30 May 2024 08:09:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717056555; bh=hKn7oFMCnOZVKPyympTibzQkvUmq/EUgiG5cwPu4Avc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=e5dDGIVSsyafnDcC1uJFPdZbdKM5Hw9oPJSfySKJ4D/FNIQUzL4RydD+vGp+xRMgP sQVsKY1BVJjQ4j3mbUc4MDCvrF+J5C+xXHgMpgbamhxByzUqsup6yHkyg3aAqTIh/P njSCf/r0oNxMGo6V9Bq79HGUammLhszPTvUaVSDXkU7uuCo+kGs1/cL6PupwdaMoRI lOa+bmzZ7bD6h/OOdKFp3t6etPn9M5jkvupGrFj88IpnhXsNtI8By1gGh9XLNVJYTL BJyFNhbioB1h7GW8eTA+nOlGGMJ8X6MKDyOXiz90h3QI6zTYKxbcp4GzyIXEQS9uL1 fkQvhh+sS2Bgg== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1sCaqY-0000000042S-3YHu; Thu, 30 May 2024 10:09:14 +0200 Date: Thu, 30 May 2024 10:09:14 +0200 From: Johan Hovold To: Andy Shevchenko Cc: Johan Hovold , Lee Jones , Mark Brown , Linus Walleij , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Das Srinagesh , Satya Priya Kakitapalli , Stephen Boyd , Bryan O'Donoghue , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org Subject: Re: [PATCH v2 12/14] mfd: pm8008: rework driver Message-ID: References: <20240529162958.18081-1-johan+linaro@kernel.org> <20240529162958.18081-13-johan+linaro@kernel.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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Wed, May 29, 2024 at 10:53:09PM +0300, Andy Shevchenko wrote: > On Wed, May 29, 2024 at 7:30 PM Johan Hovold wrote: > > + ret = devm_regmap_add_irq_chip_fwnode(dev, fwnode, regmap, client->irq, > > IRQF_SHARED, 0, &pm8008_irq_chip, &irq_data); > > + if (ret) { > > + dev_err(dev, "failed to add IRQ chip: %d\n", ret); > > + return ret; > > } > > I believe there is no harm to use > > return dev_err_probe(...); > > for these. But it seems you don't like that API. Whatever, no-one will > die, just additional work for the future :-) Correct. And there's no additional work for the future here either. Johan