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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10783C7EE23 for ; Thu, 8 Jun 2023 17:51:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235756AbjFHRv3 (ORCPT ); Thu, 8 Jun 2023 13:51:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231722AbjFHRv1 (ORCPT ); Thu, 8 Jun 2023 13:51:27 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECEE02D42 for ; Thu, 8 Jun 2023 10:51:26 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 898AA60B56 for ; Thu, 8 Jun 2023 17:51:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EDD27C433EF; Thu, 8 Jun 2023 17:51:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686246686; bh=nLJPupqcLGY2QcJeGQy4/qiw5WaljuqP39nJCPo8QQs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TtSMYwLIIplRPFD43Q0n+OTq5cU1Q6uJBACdo2LiwWfPRi/tWHTMS0BZL3546Hbvp GlTumisv5Maws1aOitjZqivXnhl339/NLno2Foku/z9xrji7xyj3nhQLcHsl+CBVOM qzYMfu3rC7RbI6PZvC73rVLRFGECtW2FWTrBiC9ONIGKp2g0/Ik0niA4mtjFGsCHfa W4OrApkPoPMMKX9GnyQVqxrP5x8T0bH3S6I1EBJ7vBDBeJnSzB6M/4eql7uWcglBZG Pj7ta6UYDSPBtq/bDFm9Uf+K75DXyXlfvm4TOYpOUul+cvWSzhoRQOBFOB+jUtDnkb xlRiolvMsRH5Q== Date: Thu, 8 Jun 2023 18:51:21 +0100 From: Lee Jones To: Sean Nyekjaer Cc: krzysztof.kozlowski@linaro.org, conor@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 2/2] mfd: stpmic1: add pmic poweroff via sys-off handler Message-ID: <20230608175121.GN3572061@google.com> References: <20230602062426.3947116-1-sean@geanix.com> <20230602062426.3947116-2-sean@geanix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230602062426.3947116-2-sean@geanix.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 02 Jun 2023, Sean Nyekjaer wrote: > Use devm_register_sys_off_handler() that allows to register multiple > power-off handlers. > This will allow boards using the stpmic1 to power-off. > > Signed-off-by: Sean Nyekjaer > --- > Changes since v1: > - Removed superfluous function > > Changes since v2: > - Removed the devicetree option to turn the power-off functionality on and off. > > drivers/mfd/stpmic1.c | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) Applied, thanks -- Lee Jones [李琼斯]