Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755669AbbGQWgz (ORCPT ); Fri, 17 Jul 2015 18:36:55 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:35170 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752605AbbGQWgx (ORCPT ); Fri, 17 Jul 2015 18:36:53 -0400 Date: Fri, 17 Jul 2015 15:36:48 -0700 From: Dmitry Torokhov To: Bjorn Andersson Cc: Stephen Boyd , "linux-kernel@vger.kernel.org" , "linux-arm-msm@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-input@vger.kernel.org" Subject: Re: [PATCH v3] Input: pmic8xxx-pwrkey - Support shutdown Message-ID: <20150717223648.GE39282@dtor-ws> References: <1436900724-10994-1-git-send-email-sboyd@codeaurora.org> <20150714201852.GB32767@usrtlx11787.corpusers.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150714201852.GB32767@usrtlx11787.corpusers.net> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1223 Lines: 36 On Tue, Jul 14, 2015 at 01:18:52PM -0700, Bjorn Andersson wrote: > On Tue 14 Jul 12:05 PDT 2015, Stephen Boyd wrote: > > > On pm8xxx PMICs, shutdown and restart are signaled to the PMIC > > via a pin called PS_HOLD. When this pin goes low, the PMIC > > performs a configurable power sequence. Add a .shutdown hook so > > that we can properly configure this power sequence for shutdown > > or restart depending on the system state. > > > > Cc: Bjorn Andersson > > Signed-off-by: Stephen Boyd > > --- > > > > Changes since v2: > > * s/ret/error/ > > * Use of_device_get_match_data() and don't move match table > > * Fix whitespace errors > > > > Reviewed-by: Bjorn Andersson > > And thanks for finding of_device_get_match_data() Thanks, I'll apply when I sync with mainline and pull in of_device_get_match_data(). Shout if you do not see it in next in a week. Thanks. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/