Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp1008359lqo; Thu, 9 May 2024 01:49:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWZ9bbTZqa6tdc/934u9WWOk080IuXAgRM9D10dvi87eUhEZpIkREa3tmmKprMuDH5OJ41iGn0jltSXUrnNH1wX2dbMGvWQwA8oRn/B1A== X-Google-Smtp-Source: AGHT+IFRJ4WJqoJQiSmPpZnwqr3ENV7asGEn/ykkT0haunD7TGWs+82n8ZNnmBd2os6uPOqS0GVC X-Received: by 2002:aca:100f:0:b0:3c8:6241:b53a with SMTP id 5614622812f47-3c9852c378emr4828454b6e.31.1715244584559; Thu, 09 May 2024 01:49:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715244584; cv=pass; d=google.com; s=arc-20160816; b=KeJ0xWf5oqNO7kNblAW78HJJmRGZEUdSgCnixphypdCq6IgVdW6MX4F5Wa3B5a1VKa s1wgHyydXnNyt2ETei2NoWbdUUXIp11M1PUwFClu9HIUp31gYdTkZFdqaei3MIlrKjMW fx3IMDwb1dWvcAcQzRGcxLIUrudkwSHcbOzxTGPCiNz5X0+jcuec/oEKMDNXF6x9ZL6j orcAXZ99qO9CflAW3OStvq5Dosfzwy5N+CMChF5ucUQSdkZ66OMi1sx/I/77J84ZK1AL FS4CXNad9m7U+SBnx3KCTQlXP3QcDRwzxa2JkQcmdKK4PULuvyKW1KdBmTtB7pNTqhD6 QTzg== 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=0sTC/6hk0ODFqZ0ZF/suHIjNQ5KJloi8U/hb797aQCE=; fh=LqXStzZQsDG+l2vX5We/itClVRnXBfVNNYGf8Qhoiw8=; b=q/deolPfX/D6v7z72fomSGVBnWRxaByadYVD7HqdKE+ao4eQXLelWm0H6jNjfEUKnB ug59NAC4ncA50Na0HZgMxTtKoVJ36xaR7EtyUE4P3EhA08DMpF+Powxf4lQyB7xuDCp5 Cjd9j/HJcnnRQTOTvlutxploz2L7YEg1ekDFQHEBthIDLxwN2PGtePyT9oQ8CY/a8eE4 hQgH+UgkHEHZFal2YZ0tLi4gJxxKRmKm96bL28V86GhwnbBLis9OUuEWAbEoy6wNprO0 wXFaG7Fl2QdH9ujFLiEycgcS702LXixpRFnte9IZqdFqofiJItW0fszf/vtSkIpJY3nN MzSQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fMGiwF+Q; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-174302-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174302-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2b156d5si1078723b3a.224.2024.05.09.01.49.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 01:49:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174302-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fMGiwF+Q; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-174302-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174302-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E94B8B216BD for ; Thu, 9 May 2024 08:49:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D184B14A0A7; Thu, 9 May 2024 08:49:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fMGiwF+Q" 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 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-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 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