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@xxxxxxxxxxxxx> > Cc: Marc Dietrich <marvin24@xxxxxx> > Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> > Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx> > --- > 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@xxxxxxxxxxxxxxxxxxx>