From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4B495C7113C for ; Wed, 28 Aug 2024 22:18:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:Date:Message-Id:Subject:References:In-Reply-To:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=UDAP3mis6Skhh4iFTHLTYRkV/UAtYOdB9PLe4z88RLc=; b=FOlS27bJrgZz4K7IyNSyA6YOQm 9vhjXd+oPAZ4Mg5ZtOfusEjSMNovT9Ei5vT2fzCyrKMgrupp/lcVyknReyMwgF/X4pEVtozhnBem/ bdwOmSffXILFk4CUBIrLWKjRtULcpfvb5NIz3Hbe3mVyW/d1Q/8EuTpyCfTw1T5n5E8zxjTZDSO6t T0RbyET4J4F77zwEk2xj+bwiOCkcy68dEAa5oJWW094FvORr7czvOLWwOT2IZgEdaeZqYa0OB0opc 4SB0FvKqDubYHYX9wx1++MYbhVlcerf/j42GxIaenG6mWdoii0fcM9S9P94v5iZPlz3npyrh0lEO4 TcUG7fIQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjQzv-0000000HBey-2BiZ; Wed, 28 Aug 2024 22:18:39 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjQz4-0000000HBS8-1aeZ for linux-arm-kernel@lists.infradead.org; Wed, 28 Aug 2024 22:17:47 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id 083D9AE3BFD; Wed, 28 Aug 2024 22:17:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A71F0C4CEC0; Wed, 28 Aug 2024 22:17:42 +0000 (UTC) Received: by mercury (Postfix, from userid 1000) id 4C1CA1060535; Thu, 29 Aug 2024 00:17:40 +0200 (CEST) From: Sebastian Reichel To: Sebastian Reichel , Florian Fainelli , Andrew Davis Cc: Broadcom internal kernel review list , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org In-Reply-To: <20240610142836.168603-1-afd@ti.com> References: <20240610142836.168603-1-afd@ti.com> Subject: Re: [PATCH 1/5] power: reset: brcmstb: Use normal driver register function Message-Id: <172488346030.466860.4956050651307556387.b4-ty@collabora.com> Date: Thu, 29 Aug 2024 00:17:40 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.14.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240828_151746_592500_F3A8A01C X-CRM114-Status: UNSURE ( 8.12 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 10 Jun 2024 09:28:32 -0500, Andrew Davis wrote: > The platform_driver_probe() helper is useful when the probe function > is in the _init section, that is not the case here. Use the normal > platform_driver_register() function. > > Applied, thanks! [1/5] power: reset: brcmstb: Use normal driver register function commit: 0174d12f9b7ebc83f1f2b6c25f05304104de5a91 [2/5] power: reset: brcmstb: Use device_get_match_data() for matching commit: cf37f16a60f332fad21fe0a45893ac4c6a825d9d [3/5] power: reset: brcmstb: Use syscon_regmap_lookup_by_phandle_args() helper commit: a4ceaab660cabdc9ac2d2514a809174443209b3b [4/5] power: reset: brcmstb: Use devm_register_sys_off_handler() commit: ad87aee5cba821066be99c76efd818368ff5bb4a [5/5] power: reset: brcmstb: Do not go into infinite loop if reset fails commit: cf8c39b00e982fa506b16f9d76657838c09150cb Best regards, -- Sebastian Reichel