Re: [PATCH v2 25/47] power/reset: qnap-poweroff: Register with kernel poweroff handler

2014-10-22 Thread Sebastian Reichel
Hi, On Mon, Oct 20, 2014 at 09:12:41PM -0700, Guenter Roeck wrote: > Register with kernel poweroff handler instead of setting pm_power_off > directly. Register with default priority to reflect that the original > code generates an error if another poweroff handler has already been > registered whe

[PATCH v2 25/47] power/reset: qnap-poweroff: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with default priority to reflect that the original code generates an error if another poweroff handler has already been registered when the driver is loaded. Drop remove function since it is no longer needed.