[PATCH 29/44] staging: nvec: Register with kernel poweroff handler

Greg Kroah-Hartman gregkh at linuxfoundation.org
Tue Oct 7 16:23:06 UTC 2014


On Mon, Oct 06, 2014 at 10:28:31PM -0700, Guenter Roeck wrote:
> Register with kernel poweroff handler instead of setting pm_power_off
> directly. Register with default priority value of 128 since we don't know
> any better.
> 
> Cc: Julian Andres Klode <jak at jak-linux.org>
> Cc: Marc Dietrich <marvin24 at gmx.de>
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Signed-off-by: Guenter Roeck <linux at roeck-us.net>
> ---
>  drivers/staging/nvec/nvec.c | 24 +++++++++++++++---------
>  drivers/staging/nvec/nvec.h |  2 ++
>  2 files changed, 17 insertions(+), 9 deletions(-)

Acked-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>


More information about the devel mailing list