Re: [PATCH 2/2] opal: Add message notifier unregister function

2015-02-12 Thread Neelesh Gupta
On 02/11/2015 04:27 PM, Anshuman Khandual wrote: On 02/11/2015 11:57 AM, Neelesh Gupta wrote: Provide an unregister interface for the opal message notifiers to be called when not needed like during driver unload/remove. Why only for unload/remove, you can also use it in cases where you need to

Re: [PATCH 2/2] opal: Add message notifier unregister function

2015-02-11 Thread Anshuman Khandual
On 02/11/2015 11:57 AM, Neelesh Gupta wrote: > Provide an unregister interface for the opal message notifiers > to be called when not needed like during driver unload/remove. Why only for unload/remove, you can also use it in cases where you need to abort because of any other error soon after succ

[PATCH 2/2] opal: Add message notifier unregister function

2015-02-10 Thread Neelesh Gupta
Provide an unregister interface for the opal message notifiers to be called when not needed like during driver unload/remove. Signed-off-by: Neelesh Gupta Reviewed-by: Vasant Hegde --- arch/powerpc/include/asm/opal.h |2 ++ arch/powerpc/platforms/powernv/opal.c |7 +++ 2 files

[PATCH 2/2] opal: Add message notifier unregister function

2015-02-10 Thread Neelesh Gupta
Provide an unregister interface for the opal message notifiers to be called when not needed like during driver unload/remove. Signed-off-by: Neelesh Gupta Reviewed-by: Vasant Hegde --- arch/powerpc/include/asm/opal.h |2 ++ arch/powerpc/platforms/powernv/opal.c |7 +++ 2 files