From mboxrd@z Thu Jan 1 00:00:00 1970 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 F0E80128396; Thu, 9 May 2024 08:49:24 +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=1715244565; cv=none; b=UitPKQ0PfuKTLmBnVqooPIJPf3mL65rjxYhT6V7jgFo9P7Lrf6prbRtDaHfj1fJ9U+GahthirmGr6APb0bDzrYckR8G62QlJPdNwYS2MjrhJq7euHnNDLyZ+bwBbSRrYoBvbUkh1vOyf3PpjXlwHDHP4bHvTREEXPeP3uceiwvs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715244565; c=relaxed/simple; bh=+VvcGiY2uFZX5aI1UZuE6DJBPKfYza5f+UNOutxHHjg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bW5eS5skb5NmEPmPsm8BERCHWJro8ln6GMT54euzJBzklhPzBXbr8UclTPHo3b6FFvrMxbDZOAus7mAnFGXNsHCQFc/FSzUKuUsMY9MYTRouW3LbR2UFtZm6KxAzm0Ky8KfzlmbCoDAOmLYKObgbRh8WsCJPoyP27cQfO6gdCUA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fMGiwF+Q; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fMGiwF+Q" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7ABEFC116B1; Thu, 9 May 2024 08:49:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715244564; bh=+VvcGiY2uFZX5aI1UZuE6DJBPKfYza5f+UNOutxHHjg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fMGiwF+QRQHtuA13zW1mIDSkX5pF5ccv2+xViTdAaIGxh6llCSgybZ4FJpEtqcURi 59biNfeZbPHVTGmi+INT9/aB1YWUWusFxhuoYqOvSRgWqjoFxiF0XoISd6DVv32hpX e/R5vZ1KDpu7uMNZd2qXzNwqr8X0qBo+8BlKx97pGsfPBrgeCtypnWZ+30ZZXUJHkz o0fsWrA+2T7+T11Cp+WRPgACPzc1KZuWo7XIHP8uovdo1XSfMwetTnDNnVedaxfPgz Iq2STjs5u7oIYGO+ePl26VicGbbeLYAGrfdmNvDhaF2rcZfqQMss1gD62Ux0lcz00W kdljiclqTfotw== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1s4zSy-000000000NM-0rIA; Thu, 09 May 2024 10:49:28 +0200 Date: Thu, 9 May 2024 10:49:28 +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 , Stephen Boyd , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org Subject: Re: [PATCH 02/13] mfd: pm8008: fix regmap irq chip initialisation Message-ID: References: <20240506150830.23709-1-johan+linaro@kernel.org> <20240506150830.23709-3-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-gpio@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 Tue, May 07, 2024 at 08:16:45PM +0300, Andy Shevchenko wrote: > On Tue, May 7, 2024 at 6:01 PM Johan Hovold wrote: > > On Mon, May 06, 2024 at 09:56:05PM +0300, Andy Shevchenko wrote: > > > Mon, May 06, 2024 at 05:08:19PM +0200, Johan Hovold kirjoitti: > > > > The regmap irq array is potentially shared between multiple PMICs and > > ... > > > > > - dev_err(dev, "Failed to probe irq periphs: %d\n", rc); > > > > + dev_err(dev, "failed to add IRQ chip: %d\n", rc); > > > > > > dev_err_probe(...); ? > > > > This function won't return -EPROBE_DEFER, > > This is not an argument for a long time (since documentation of > dev_err_probe() had been amended to encourage its use for any error > cases in probe). There was apparently a kernel doc update made in December 2023: 532888a59505 ("driver core: Better advertise dev_err_probe()") to clarify that people are *allowed* to use it also for functions not returning -EPROBE_DEFER. That's hardly a long time ago and, importantly, this is of course still nothing that is *required*. > > and that would be a separate > > change in any case. > > Sure, but why to add a technical debt? Perhaps a precursor cleanup patch? This is not in any way technical debt. Johan